We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seems to be an issue converting a proto file with a path parameter to swagger. The below is the proto file:
syntax = "proto3"; package thing; import "google/api/annotations.proto"; message Request { EnumThing view = 5; } message Response { string tasks = 1; } enum EnumThing { MINIMAL = 0; BASIC = 1; FULL = 2; } service ThingService { rpc ListThings(Request) returns (Response) { option (google.api.http) = { get: "/v1/thing/{view}" }; } }
After converting to yaml, expected:
- name: view in: path required: true type: string enum: ['MINIMAL', 'BASIC', 'FULL']
but received the below instead:
- name: view in: path required: true type: thingEnumThing
Additionally, thingEnumThing isn't defined anywhere.
thingEnumThing
The text was updated successfully, but these errors were encountered:
Mostly duplicate of #322
Sorry, something went wrong.
No branches or pull requests
Seems to be an issue converting a proto file with a path parameter to swagger. The below is the proto file:
After converting to yaml, expected:
but received the below instead:
Additionally,
thingEnumThing
isn't defined anywhere.The text was updated successfully, but these errors were encountered: