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
// remove servers and rewrite from relative-path to absolute-path
swagger.Servers = openapi3.Servers{}
paths := openapi3.Paths{}
for k, v := range swagger.Paths {
paths[path.Join(basePath, k)] = v
}
swagger.Paths = paths
The text was updated successfully, but these errors were encountered:
I don't think middleware needs any Server information.
Because it is not possible to know the address accessed by the user under the proxy environment.
export-url : https://export.example.com/api/v1
go-api-url : http://app.example.com/api/v1
Server-URL:
NG : https://export.example.com/api/v1
NG : /api/v1 -> fail
So, i change to swagger data.
Send to client
send to validate middleware.
The text was updated successfully, but these errors were encountered: