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

[BE] docs: SwaggerConfig 가 운영 환경에서 등록되지 않도록 변경 #531

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

Kimprodp
Copy link
Contributor

@Kimprodp Kimprodp commented Aug 23, 2024


🚀 어떤 기능을 구현했나요 ?

  • 운영 환경에서 SwaggerConfig가 사용되지 않도록 변경했습니다.

🔥 어떻게 해결했나요 ?

  • @Profile("!prod")

📝 어떤 부분에 집중해서 리뷰해야 할까요?

📚 참고 자료, 할 말

Copy link

Test Results

82 tests   82 ✅  3s ⏱️
24 suites   0 💤
24 files     0 ❌

Results for commit 84a49c7.

@donghoony
Copy link
Contributor

아래 사항을 yml에 추가하는 것만으로도 활성화되지 않습니다만, @Configuration이 prod에서 올라가는 것을 막고자 해당 PR이 올라갔어요.

springdoc:
  api-docs:
    enabled: false

Copy link
Contributor

@donghoony donghoony left a comment

Choose a reason for hiding this comment

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

👍🏻

@Kimprodp Kimprodp merged commit a59a4d5 into develop Aug 23, 2024
6 checks passed
@donghoony donghoony deleted the be/docs/528-release-api-docs-disable branch August 23, 2024 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[BE] 배포 환경에서 API Docs를 비활성화한다.
4 participants