gnostic
gnostic copied to clipboard
A compiler for APIs described by the OpenAPI Specification with plugins for code generation and other API support tasks.
We just noticed that gnostic's proto-gen-openapi may create a wrong OpenAPI v3 spec when a message with identical name exists in an imported proto even though the messages belong to...
In this PR I update generator to add a `format` property to the schema for the proto definitions: int64, sint64, uint64, sfixed64, and fixed64 As this was the case in...
I'm facing this issue when running the test suite. `panic: proto: message openapi.v2.AdditionalPropertiesItem is already registered See https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict`
## env - protoc-gen-openapi: v0.6.8 - protoc flags: `--openapi_opt naming=proto,enum_type=string` ## proto file ```protobuf enum Trinary { NULL = 0; TRUE = 1; FALSE = 2; } message Condition {...
i have a simple message of type ```protobuf message SampleRequest { string test_id = 1; map test_state = 2; } ```` it was not able to generate in openapi.yaml. But...
This PR adds a support for `response_body` option which is currently missing.
FIX https://github.com/google/gnostic/issues/372
Updated packages using `go get -u ./...` Then, I tried running a go file using `go run ` Got the error message: `cannot use doc (variable of type *"github.com/google/gnostic/openapiv2".Document) as...
We are unable to detect the CVE-2022-28948 vulnerability through our vulnerability scanning. gopkg.in/yaml.v3 v3.0.0-202 101051613 48-2e7810 8cf5f8 An issue in the Unmarshal f unction in Go-Yaml v3 caus es the...