Skip to content
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(api, search): add custom path of the swagger-ui using springdoc properties #302

Merged
merged 4 commits into from
Aug 22, 2023

Conversation

siyeonSon
Copy link
Member

@siyeonSon siyeonSon added 📝docs Improvements or additions to documentation ♻️refactor Refactor code. labels Aug 22, 2023
@siyeonSon siyeonSon self-assigned this Aug 22, 2023
@siyeonSon siyeonSon marked this pull request as ready for review August 22, 2023 12:29
Copy link
Collaborator

@yunyoung1819 yunyoung1819 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good! 고생 많으셨습니다

@siyeonSon
Copy link
Member Author

siyeonSon commented Aug 22, 2023

SwaggerController가 삭제 되어서 /swager로 접속하면 whitelabel error page가 뜰 거예요!
streetdrop-api 모듈의 application-local.yml에 다음 설정 추가해 주시면 됩니다.

springdoc:
  swagger-ui:
    path: /swagger

@siyeonSon siyeonSon merged commit a1dcaeb into dev Aug 22, 2023
3 checks passed
@siyeonSon siyeonSon deleted the refactor/swagger branch August 22, 2023 12:37
seonghun-dev pushed a commit that referenced this pull request Aug 22, 2023
…c properties (#302)

* 🔥 chore(api): delete SwaggerController

* 🔥 chore(search): delete SwaggerController

* ✨ chore(api): add custom path of the swagger-ui using springdoc properties

* ✨ chore(search): add custom path of the swagger-ui using springdoc properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📝docs Improvements or additions to documentation ♻️refactor Refactor code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add custom path of the swagger-ui using springdoc properties
3 participants