Allow OpenApi Swagger Server Url Configurable between Full URL and Relative Path

Requirement Details

  • Current generated OpenAPI document server url section contains relative path url of the service.
  • Few cases for testing, full server URL path required in generated swagger.

Refer Below Server URL sections

Relative Path URL image
Full Server URL image

Expected Changes:

  • To make it flexible for the CSP to generate it as Full URL and Relative Path URL. It will be compatible solution for existing services.
  • Default behaviour would be relative path url and configurable option to enable the full URL to support compatibility options for each CSP