From e3b00bb58a73e64dd01e250faee31e2865038cea Mon Sep 17 00:00:00 2001 From: Jeff Sawatzky <421404+jeffsawatzky@users.noreply.github.com> Date: Fri, 8 Apr 2022 12:08:38 -0400 Subject: [PATCH] Add Google Gnostic Registered Extension Number (#9754) google/gnostic's protoc-gen-openapi generator has extension support for additional openapi options. It is [currently using `1042`](https://github.com/google/gnostic/blob/master/openapiv3/annotations.proto) which is registered with grpc-gateway's protoc-gen-openapiv2 extension which probably isn't a good thing. See [here](https://github.com/google/gnostic/blob/master/cmd/protoc-gen-openapi/examples/tests/openapiv3annotations/message.proto) for an example of the extenstion in action. --- docs/options.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/options.md b/docs/options.md index e745730340..fd99f600ea 100644 --- a/docs/options.md +++ b/docs/options.md @@ -308,4 +308,8 @@ with info about your project (name and website) so we can add an entry for you. 1. Protoc-gen-fieldmask * Website: https://github.com/yeqown/protoc-gen-fieldmask * Extension: 1142 - + +1. Google Gnostic + * Website: https://github.com/google/gnostic + * Extension: 1143 +