You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We have a service which is accessible through a wildcard domain (*.example.com), and users can access this system with some specific prefixes (e.g. prefixA.example.com, prefixB.example.com).
When serving the OpenAPI document, we make use of the OpenAPICustomizer(s) to customize the server URL to also include the common path of the APIs present in that document.
This was possible, until the logic to be able to customize also cached OpenAPI documents was reverted with this PR.
Now, even if a client would access the document with the https://prefixB.example.com, it would be served the cached OpenAPI with the https://prefixA.example.com/my/foo server URL, which was generated when it was first accessed.
Describe the solution you'd like
We would like to have the possibility to register some customizer which would run also for cached OpenAPI's.
Describe alternatives you've considered
This can be worked around by disabling the cache, but generating the whole OpenAPI on each request gets pretty expensive, the more this grows.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We have a service which is accessible through a wildcard domain (

*.example.com
), and users can access this system with some specific prefixes (e.g.prefixA.example.com
,prefixB.example.com
).When serving the OpenAPI document, we make use of the OpenAPICustomizer(s) to customize the server URL to also include the common path of the APIs present in that document.
This was possible, until the logic to be able to customize also cached OpenAPI documents was reverted with this PR.
Now, even if a client would access the document with the
https://prefixB.example.com
, it would be served the cached OpenAPI with thehttps://prefixA.example.com/my/foo
server URL, which was generated when it was first accessed.Describe the solution you'd like
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: