ServerImpl uses new URL() which does not allow for relative paths.
Version
5.0.0.CR5
Context
We deploy microservices on random ports which also serve swagger-ui individually. (eg: https://192.168.1.217:44913/api.html)
for this to work we need to be able to define swagger.yaml:
openapi: 3.0.1
info:
title: api
servers:
- url: /v1/api
and swagger-ui uses the current location (scheme+host+port) to execute requests
ServerImpl uses
new URL()which does not allow for relative paths.Version
5.0.0.CR5
Context
We deploy microservices on random ports which also serve swagger-ui individually. (eg: https://192.168.1.217:44913/api.html)
for this to work we need to be able to define swagger.yaml:
and swagger-ui uses the current location (scheme+host+port) to execute requests