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
Steps
// DeepEnum is one or zero. enum DeepEnum { // FALSE is false. FALSE = 0; // TRUE is true. TRUE = 1; } // DeepEnum comment.<--This dot DeepEnum ok = 3 [(grpc.gateway.protoc_gen_swagger.options.openapiv2_field) = {description: "DeepEnum description."}];
Expected behavior
Actual behavior
Hipotesis This error is triggered by an error on protoc-gen-swagger/genswagger/template.go:1268. The solution is to refactor the if behavior.
If you remove the dot from the comment it will generate the swagger code without errors.
The text was updated successfully, but these errors were encountered:
What does the generated swagger look like? Would you like to contribute a fix for this?
Sorry, something went wrong.
The swagger file is not generated due the error code. Sure, I will fix it.
Fixed by #898
No branches or pull requests
Steps to reproduce the issue
Steps
Expected behavior
Actual behavior
Hipotesis
This error is triggered by an error on protoc-gen-swagger/genswagger/template.go:1268. The solution is to refactor the if behavior.
If you remove the dot from the comment it will generate the swagger code without errors.
The text was updated successfully, but these errors were encountered: