Remove unused swagger_auto_schema import and decorator#2
Closed
Copilot wants to merge 2 commits intofeature/dockerizefrom
Closed
Remove unused swagger_auto_schema import and decorator#2Copilot wants to merge 2 commits intofeature/dockerizefrom
Copilot wants to merge 2 commits intofeature/dockerizefrom
Conversation
Co-authored-by: hepheir <19310326+hepheir@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update Dockerfile based on review feedback
Remove unused swagger_auto_schema import and decorator
Nov 27, 2025
77a36ed to
f8a2311
Compare
Member
|
swagger auto schema가 정상동작하지 않는다고 해서 제거하기보다는, 다른 방법으로 Swagger 적용이 이루어 질 수 있도록 해볼 것이기에 본 PR은 반려하겠습니다. |
hepheir
added a commit
that referenced
this pull request
Nov 27, 2025
…BV -> CBV 전환) Function Based View에는 `swagger_auto_schema` 가 정상적으로 적용되지 않는 이슈를 해결했습니다. (#2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses feedback from #1: the
swagger_auto_schemadecorator doesn't work properly for function-based views without additional wrapper configuration.Changes
@swagger_auto_schema(method='get')decorator fromhealthviewswagger_auto_schemaimportThe
@require_http_methods(["GET"])decorator already restricts the endpoint to GET requests.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.