feat(api-docs): reintroduce API doc generation (#289)
- reintroduces API doc generation via API_DOCS_ENABLED - accessible publicly via /api/docs and /api/openapi.json
This commit is contained in:
@@ -2,6 +2,8 @@ app:
|
||||
path-config: '/app/data'
|
||||
bookdrop-folder: '/bookdrop'
|
||||
version: ${APP_VERSION:development}
|
||||
api-docs:
|
||||
enabled: ${API_DOCS_ENABLED:false}
|
||||
|
||||
cors:
|
||||
# Comma-separated list of allowed CORS origins.
|
||||
@@ -93,9 +95,8 @@ spring:
|
||||
|
||||
springdoc:
|
||||
api-docs:
|
||||
enabled: false
|
||||
swagger-ui:
|
||||
enabled: false
|
||||
enabled: ${app.api-docs.enabled:false}
|
||||
path: /api/openapi.json
|
||||
|
||||
logging:
|
||||
level:
|
||||
|
||||
Reference in New Issue
Block a user