Skip to content

Commit

Permalink
CLAP-406 CI/CD: DevelopOnlyApi 어노테이션 적용 오류수정
Browse files Browse the repository at this point in the history
<footer>
- #524
  • Loading branch information
hyoseong-Choi committed Feb 12, 2025
1 parent 4746857 commit 962a555
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public enum GlobalErrorCode implements BaseErrorCode {
METHOD_ARGUMENT_NOT_VALID(HttpStatus.BAD_REQUEST, "COMMON_002", "올바르지 않은 요청입니다."),
METHOD_NOT_ALLOWED(HttpStatus.METHOD_NOT_ALLOWED, "COMMON_005", "지원하지 않은 Http Method 입니다."),
INTERNAL_SERVER_ERROR(HttpStatus.INTERNAL_SERVER_ERROR, "COMMON_006", "서버 에러가 발생했습니다."),
BLOCKED_API(HttpStatus.METHOD_NOT_ALLOWED, "COMMON_007", "운영 환경에서 사용할 수 없는 API 입니다."),
;

private final HttpStatus httpStatus;
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ springdoc:
path: /swagger/v3/api-docs

---
spring.config.activate.on-profile: prod
spring.config.activate.on-profile: prod
swagger.server.url: ${SWAGGER_SERVER_URL:http://localhost:8080}

0 comments on commit 962a555

Please sign in to comment.