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
did openapi2proto handle openapiv3 requestBody keyword? generated go file lost all body parameters.my openapi like
` '/api/cardmanager/mockcard/{cardNo}':
post: tags: - cardmanager - mockcard description: create mock user card operationId: CreateMockCard requestBody: description: 写卡参数 content: application/json: schema: type: object properties: sessionKey: type: string requestId: type: string data: $ref: '#/components/schemas/UserCard' parameters: - name: cardNo in: path description: card no schema: type: string responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GeneralResponse'`
generated code like
`message CreateMockCardRequest { // 卡号 string cardNo = 1; }
rpc CreateMockCard(CreateMockCardRequest) returns (google.protobuf.Empty) { option (google.api.http) = { post: "/api/cardmanager/mockcard/:cardNo" }; }`
The text was updated successfully, but these errors were encountered:
I've noticed them missing too - which is pretty sad as I really need them...
Sorry, something went wrong.
No branches or pull requests
did openapi2proto handle openapiv3 requestBody keyword? generated go file lost all body parameters.my openapi like
` '/api/cardmanager/mockcard/{cardNo}':
generated code like
`message CreateMockCardRequest {
// 卡号
string cardNo = 1;
}
The text was updated successfully, but these errors were encountered: