Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

#104 swagger 추가 #105

Merged
merged 19 commits into from
Jul 31, 2021
Merged

#104 swagger 추가 #105

merged 19 commits into from
Jul 31, 2021

Conversation

soongjamm
Copy link
Collaborator

  • gradle 의존성 추가
  • 기본적인 설정 추가

http://localhost:8080/swagger-ui.html 에서 UI 확인 가능합니다

@soongjamm soongjamm self-assigned this Jul 28, 2021
@f-lab-bright
Copy link
Collaborator

@soongjamm @lyh7712
지금 구성 상태로 만약에 production에 배포하면 api spec이 전부 노출되게 되겠네요.
특정 profile인(production이 아닌 경우) 경우에만 swagger ui가 노출되는게 보안상 안전할 수 있을 것 같습니다 (open api 라면 노출되는게 맞겠지만..).

@soongjamm
Copy link
Collaborator Author

@Profile("!prod") 추가해서 production이 아닌 경우에만 swagger를 설정하도록 했습니다!

@soongjamm soongjamm merged commit 61667ed into main Jul 31, 2021
@soongjamm soongjamm deleted the #104 branch September 11, 2021 17:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants