-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] swagger 설정 기능 구현 #31
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨어요!
@Configuration | ||
public class SwaggerConfig { | ||
@Bean | ||
public GroupedOpenApi publicApi() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
제가 GroupedOpenApi
는 안써봐서 그러는데 GroupedOpenApi
는 어떤 역할을 하나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
springdoc으로 하셨네요! 좋습니당 수고하셨어요~
@@ -27,6 +27,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { | |||
.authorizeRequests(auth -> auth | |||
.requestMatchers("/api/users/login", "/api/users/signup").permitAll() | |||
.requestMatchers("/api/datapipes/**").permitAll() // 데이터파이프라인 모든 권한 허용 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기는 requestMarchers를 계속 따로 추가한 이유는 주석달기 위해서 하신걸까요??
수고하셨습니다!! |
Issue
PR 타입(하나 이상의 PR 타입을 선택해주세요)
반영 브랜치
ex) feat/create_swagger -> dev2
변경 사항
swagger
의존성 추가swaggerConfig
설정webSecurity
swagger
관련 모든 권한 허용swagger-public-docs
바로가기 추가테스트 결과
swagger