Skip to content

Update protos for Go protoc plugin compatibility, add some fields previously dropped by gnostic-generator

Compare
Choose a tag to compare
@timburks timburks released this 27 Apr 16:05
1550ae2
Upgrade protobuf and Generate OpenAPI v3 responseBody content example…

…s (#242)

* Generate OpenAPI v3 responseBody content examples
* Add google protobuf files
* Fix protoc-gen-openapi plugin tests
* Upgrade to newest protobuf versions
* Upgrade github.com/golang/protobuf
v1.5.1 -> v1.5.2
* Remove unnecessary path.Clean
* Enable generation of properties name value of type Any
This reverts the manual edit of OpenAPIv3.go and ensures that it is automatically generated.
It also adds Value for NamedAny.
* Add newly generated files
The new formatting in .proto files is done by a generator
* Move Google .proto files dir into "third_party"
From ./google -> ./third_party/google
Also add include path for protoc calls in:
COMPILE-PROTOS.sh
apps/protoc-gen-openapi/plugin_test.go
* Manually patch OpenAPI v3 proto file and re-generate pb file
This is needed to keep the original field numbers to maintain compatibility