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
I am unsure about how the parameter should work and if we want to call WithDynamicServerUrl twice then, once for HTTP, once for HTTP.
There may also be the option to support proxies which often include the original protocol as header. This would allow to correctly determine the protocol even if the application is behind a reverse proxy which terminates SSL and forwards without SSL.
WithAddServerUrls implicitly adds two server urls, one for http, one for https.
swaggerui/handler.go
Line 68 in 0f4af9b
WithAddServerUrls
toWithDynamicServerUrl
In Summary, let's change the method signature to:
I think the new name states more clearly what this function does.
The text was updated successfully, but these errors were encountered: