Use full URL instead of relative path
- Issue Reference: osdu/platform/security-and-compliance/legal#68 (closed)
- Added configuration
api.server.fullUrl.enabled
to enable full server url in OpenAPI swagger - Currently only in Azure it is enabled. For Other [CSP/Common Core] there is no change.
Configuration Details
-
api.server.fullUrl.enabled=true
It will generate full server url in the OpenAPI swagger -
api.server.fullUrl.enabled=false
It will generate only the contextPath - Reference: https://springdoc.org/faq.html#_how_is_server_url_generated
Edited by Anthony Ittiyera vazhappilly