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 to reproduce:
generator/testfiles/requestBodies.yaml
/testRequestBodySchemaReference: post: operationId: testRequestBodySchemaReference requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/TestRequestBodySchemaReferenceRequest' responses: "201": description: OK components: schemas: TestRequestBodySchemaReferenceRequest: type: object properties: person: $ref: '#/components/schemas/Person'
message TestRequestBodySchemaReferenceRequest { Person person = 1; } message Person { int64 id = 1; int64 age = 2; string name = 3; repeated string photo_urls = 4; } //TestRequestBodySchemaReferenceParameters holds parameters to TestRequestBodySchemaReference message TestRequestBodySchemaReferenceRequest { TestRequestBodySchemaReferenceRequest test_request_body_schema_reference_request = 1; } service Requestbodies { rpc TestRequestBody ( TestRequestBodyRequest ) returns ( google.protobuf.Empty ) { option (google.api.http) = { get:"/testRequestBody" body:"person" }; } rpc TestRequestBodyReference ( TestRequestBodyReferenceRequest ) returns ( google.protobuf.Empty ) { option (google.api.http) = { get:"/testRequestBodyReference" body:"person" }; } rpc TestRequestBodySchemaReference ( TestRequestBodySchemaReferenceRequest ) returns ( google.protobuf.Empty ) { option (google.api.http) = { post:"/testRequestBodySchemaReference" body:"test_request_body_schema_reference_request" }; } }
The text was updated successfully, but these errors were encountered:
I see. Thanks! Need to think about that a bit 🤔
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce:
generator/testfiles/requestBodies.yaml
:The text was updated successfully, but these errors were encountered: