1. springdoc.swagger-ui.defaultModelsExpandDepth 설정
기본적으로 Schemas(모델)가 펼쳐진 상태가 되도록 설정하려면 application.properties 또는 application.yml에서 defaultModelsExpandDepth 값을 조정하면 됩니다.
application.properties 설정 springdoc.swagger-ui.defaultModelsExpandDepth=2
application.yml 설정springdoc: swagger-ui: defaultModelsExpandDepth: 2