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
Hey @johanbrandhorst, it looks like the reporter of this issue was expecting the OpenAPI v3 definitions (seen in the latest Swagger spec) which contains a servers array, whereas gRPC Gateway only supports Swagger v2, which doesn't contain a servers array, but rather only allows users to define host, basePath, and schemes fields. I think this issue can be closed.
Currently it is not possible to specify servers in
grpc.gateway.protoc_gen_swagger.options.openapiv2_swagger
.This necessitates a manual edit of the JSON before it can be published as documentation.
The text was updated successfully, but these errors were encountered: