Fixing swagger config issues
This commit is contained in:
parent
b4857b403e
commit
aac74142a8
|
@ -2,7 +2,7 @@ web:
|
|||
security:
|
||||
enabled: true
|
||||
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:
|
||||
api-key:
|
||||
enabled: false
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
springdoc:
|
||||
packagesToScan: org.opencdmp.publicapi.controllers
|
||||
packagesToScan: org.opencdmp.controllers.publicapi
|
||||
pathsToScan: "/api/public/(dmps|datasets)/?.*"
|
||||
swagger-ui:
|
||||
enabled: true
|
||||
useRootPath: true
|
||||
docExpansion: none
|
Loading…
Reference in New Issue