Make Swagger UI Access Configurable for Public or Restricted Use

This commit is contained in:
aditya.chandel
2025-06-08 02:24:35 -06:00
committed by Aditya Chandel
parent bbccedda52
commit baf55a0ffa
10 changed files with 183 additions and 85 deletions
@@ -1,7 +1,8 @@
app:
path-config: '/app/data'
version: 'v0.0.40'
swagger:
enabled: ${SWAGGER_ENABLED:false}
remote-auth:
enabled: ${REMOTE_AUTH_ENABLED:false}
create-new-users: ${REMOTE_AUTH_CREATE_NEW_USERS:true}
@@ -45,6 +46,10 @@ spring:
enabled: true
locations: classpath:db/migration
springdoc:
swagger-ui:
persist-authorization: true
logging:
level:
root: ${ROOT_LOG_LEVEL:INFO}