Fixing swagger config issues
This commit is contained in:
parent
b4857b403e
commit
aac74142a8
|
@ -2,7 +2,7 @@ web:
|
||||||
security:
|
security:
|
||||||
enabled: true
|
enabled: true
|
||||||
authorized-endpoints: [ api ]
|
authorized-endpoints: [ api ]
|
||||||
allowed-endpoints: [ api/public, api/dmp/public, api/description/public, /api/supportive-material/public, api/language/public, api/contact-support/public, api/dashboard/public, prometheus, health, metrics ]
|
allowed-endpoints: [ api/public, api/dmp/public, api/description/public, /api/supportive-material/public, api/language/public, api/contact-support/public, api/dashboard/public, prometheus, health, metrics, swagger-ui, v3/api-docs ]
|
||||||
idp:
|
idp:
|
||||||
api-key:
|
api-key:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
springdoc:
|
springdoc:
|
||||||
packagesToScan: org.opencdmp.publicapi.controllers
|
packagesToScan: org.opencdmp.controllers.publicapi
|
||||||
pathsToScan: "/api/public/(dmps|datasets)/?.*"
|
pathsToScan: "/api/public/(dmps|datasets)/?.*"
|
||||||
swagger-ui:
|
swagger-ui:
|
||||||
|
enabled: true
|
||||||
|
useRootPath: true
|
||||||
docExpansion: none
|
docExpansion: none
|
Loading…
Reference in New Issue