fix: nginx에서 swagger/
와 swagger-v2/
경로 허용
#640
Merged
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.
개요
배포 서버에서 v1과 v2 swagger 문서를 볼 수 있게 수정합니다.
변경점
일관성을 위해
/docs
경로명을/swagger-v2
로 변경했습니다.작업 사항
swagger.json
과docs.json
의 경로를swagger/openapi.json
과swagger-v2/openapi.json
으로 변경했습니다./swagger
와/swagger-v2
경로를 나눈 이유/swagger/v2
경로를 사용해 nginx 설정 중복을 피하려 했으나 v1 swagger 경로와 겹쳐 사용이 불가능해 경로를 2개 사용해야 했습니다.