application 설정 간소화

dev
박성영 3 months ago
parent 0fa106c3d4
commit 5a645f151c

@ -34,29 +34,15 @@ mybatis:
# Springdoc OpenAPI 설정
springdoc:
api-docs:
enabled: true
swagger-ui:
enabled: true
operations-sorter: method
tags-sorter: alpha
display-request-duration: true
doc-expansion: none
filter: true
supportedSubmitMethods: [get, post]
cookie-auth-enabled: true # Swagger UI에서 세션 쿠키 인증 활성화 (springdoc 2.x)
use-cookie-auth: true # Swagger UI에서 인증 시 쿠키 사용 (springdoc 2.x)
init:
oauth2:
enabled: false
usePkceWithAuthorizationCodeGrant: false
packages-to-scan: go.kr.project
paths-to-match: /**
default-consumes-media-type: application/json
default-produces-media-type: application/json
model-converters:
pageable-converter:
enabled: true
operations-sorter: method # API 메서드별 정렬 (GET, POST, PUT, DELETE 순)
tags-sorter: alpha # 태그 알파벳 순 정렬
display-request-duration: true # 요청 시간 표시
doc-expansion: none # 초기 확장 상태: none(모두 접힘)
filter: true # 검색 필터 활성화
supportedSubmitMethods: [get, post] # Swagger UI에서 실행 가능한 메서드 제한
packages-to-scan: go.kr.project # API 스캔 대상 패키지
# 참고: Swagger UI는 브라우저 쿠키를 자동으로 사용하여 세션 인증을 처리합니다
# Login configuration
login:

Loading…
Cancel
Save