Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions api/common-api/src/main/resources/application-common-api.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
server:
forward-headers-strategy: framework

# Swagger UI / API 문서는 기본으로 닫고 dev 에서만 연다
springdoc:
swagger-ui:
enabled: false
api-docs:
enabled: false

---
spring:
config:
activate:
on-profile: dev

springdoc:
swagger-ui:
enabled: true
api-docs:
enabled: true
7 changes: 0 additions & 7 deletions bootstrap/src/main/resources/application-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ logging:
org.hibernate.SQL: DEBUG
org.hibernate.orm.jdbc.bind: TRACE

# Swagger UI / API 문서는 dev 에서만 노출
springdoc:
swagger-ui:
enabled: true
api-docs:
enabled: true

# actuator 엔드포인트 확장 (health 외 진단용). health 외 엔드포인트는 인증이 필요하다.
management:
endpoints:
Expand Down
7 changes: 0 additions & 7 deletions bootstrap/src/main/resources/application-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ logging:
root: INFO
kr.ac.kookmin: INFO

# Swagger UI / API 문서 비활성화
springdoc:
swagger-ui:
enabled: false
api-docs:
enabled: false

# actuator는 health 만 노출
management:
endpoints:
Expand Down
1 change: 1 addition & 0 deletions bootstrap/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ spring:
config:
import:
- classpath:application-gateway-auth.yml
- classpath:application-common-api.yml
- classpath:application-infrastructure-db.yml
- classpath:application-infrastructure-client.yml
Loading