XiaoFeiASK opened a new pull request, #3606: URL: https://github.com/apache/dubbo-go/pull/3606
## What this PR does Part of [#3598](https://github.com/apache/dubbo-go/issues/3598), task 25: add tests for `protoc-gen-triple-openapi`. This PR adds YAML and JSON golden tests for the OpenAPI generator. ## Changes - Add `convert_test.go` with a protobuf descriptor fixture. - Cover scalar, repeated, map, enum, message fields, and service methods. - Compare generated YAML and JSON documents against example golden files. - Extend `example/greet.proto` and update its OpenAPI YAML and JSON golden outputs. ## Verification ```bash cd tools/protoc-gen-triple-openapi go test ./... -- 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]
