Make Swagger UI Access Configurable for Public or Restricted Use
This commit is contained in:
committed by
Aditya Chandel
parent
bbccedda52
commit
baf55a0ffa
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user