XiaoFeiASK opened a new pull request, #3630:
URL: https://github.com/apache/dubbo-go/pull/3630

   ## What this PR does
   
   Part of [#3598](https://github.com/apache/dubbo-go/issues/3598), task 26: 
generate OpenAPI descriptions from proto comments.
   
   ## Changes
   
   - Read leading comments from protobuf source locations.
   - Add service comments to OpenAPI tag descriptions.
   - Add RPC comments to OpenAPI operation descriptions.
   - Add message and field comments to OpenAPI schema descriptions.
   - Cover scalar, repeated, map, enum, and message fields in the golden test 
fixture.
   - Update `example/greet.proto` and the YAML/JSON OpenAPI golden outputs.
   
   ## Verification
   
   ```bash
   cd tools/protoc-gen-triple-openapi
   go test -race ./...
   go build ./...
   Checklist
   - I confirm the target branch is develop
   - Code has passed local testing
   - I have added tests that prove this feature works


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to