-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add custom options to allow more control of swagger/openapi output #145
Commits on Oct 27, 2017
-
Apply additional Swagger properties using JSON.
Depends on PR grpc-ecosystem#134. Reverts 562956f.
Configuration menu - View commit details
-
Copy full SHA for 6ff06d8 - Browse repository at this point
Copy the full SHA 6ff06d8View commit details -
Swagger: Replaced '<!-- ... -->' for raw JSON with last paragraph 'Sw…
…agger: '. Per discussion in grpc-ecosystem#134.
Configuration menu - View commit details
-
Copy full SHA for fcc2dca - Browse repository at this point
Copy the full SHA fcc2dcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20a6d40 - Browse repository at this point
Copy the full SHA 20a6d40View commit details -
WIP: Use a proto option to describe whether a Swagger Operation is de…
…precated. Issues: - This change breaks tests, uses possibly inappropriate package names etc. - 'deprecated' status of an operation should be determined by whether the proto method has been declared deprecated. - Previous way of declaring extra values using JSON prefixed with "OpenAPI: " in the comments has not been removed. - Extension for Swagger options has an arbitrary, but almost certainly wrong, identifier assigned to it. - Neither global API properties nor the main useful property on a swagger Operation, "externalDocs", are supported with this new method. - As a possible idea, we may want to support raw JSON in an option as well.
Configuration menu - View commit details
-
Copy full SHA for 321663d - Browse repository at this point
Copy the full SHA 321663dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7043966 - Browse repository at this point
Copy the full SHA 7043966View commit details -
WIP: Correctly reserve fields. Update link. TODO: merge with commit M…
…on Feb 13 13:58:23 2017 +0000.
Configuration menu - View commit details
-
Copy full SHA for cdc1094 - Browse repository at this point
Copy the full SHA cdc1094View commit details -
WIP: Refer to the specification as OpenAPI v2, not Swagger.
Also, change the Go package name for options proto.
Configuration menu - View commit details
-
Copy full SHA for 41b436f - Browse repository at this point
Copy the full SHA 41b436fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74cd394 - Browse repository at this point
Copy the full SHA 74cd394View commit details -
Configuration menu - View commit details
-
Copy full SHA for 549ccee - Browse repository at this point
Copy the full SHA 549cceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b2b321 - Browse repository at this point
Copy the full SHA 6b2b321View commit details -
Configuration menu - View commit details
-
Copy full SHA for db4a056 - Browse repository at this point
Copy the full SHA db4a056View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7697bcf - Browse repository at this point
Copy the full SHA 7697bcfView commit details
Commits on Oct 28, 2017
-
WIP: Remove use of JSON. Introduce schema and tag object. Support ext…
…ernalDocs on exported schema object. Replace (protocol) scheme strings with enum.
Configuration menu - View commit details
-
Copy full SHA for 162c375 - Browse repository at this point
Copy the full SHA 162c375View commit details -
Configuration menu - View commit details
-
Copy full SHA for b53579c - Browse repository at this point
Copy the full SHA b53579cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60d116f - Browse repository at this point
Copy the full SHA 60d116fView commit details -
WIP: Provide a more unique operation ID in case of additional bindings.
This doesn't resolve the problem of multiple services having same operation IDs. That can be dealt with sometime in the future, however.
Configuration menu - View commit details
-
Copy full SHA for d509096 - Browse repository at this point
Copy the full SHA d509096View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3949620 - Browse repository at this point
Copy the full SHA 3949620View commit details
Commits on Oct 29, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a386e97 - Browse repository at this point
Copy the full SHA a386e97View commit details -
WIP: Move error checking for extractSchemaOptionFromMessageDescriptor…
… out of check for opts != nil.
Configuration menu - View commit details
-
Copy full SHA for 290f777 - Browse repository at this point
Copy the full SHA 290f777View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97ee19b - Browse repository at this point
Copy the full SHA 97ee19bView commit details
Commits on Nov 1, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ceb4c4e - Browse repository at this point
Copy the full SHA ceb4c4eView commit details -
Move test definitions for options-based extension to Swagger output f…
…ile from echo service to a bit of everything service.
Configuration menu - View commit details
-
Copy full SHA for 099fda5 - Browse repository at this point
Copy the full SHA 099fda5View commit details
Commits on Nov 2, 2017
-
Undo commenting out dependency on EXAMPLE_CLIENT_SRCS.
I do not have swagger-codegen installed, so that was broken for me while developing.
Configuration menu - View commit details
-
Copy full SHA for d7b0ba4 - Browse repository at this point
Copy the full SHA d7b0ba4View commit details -
Change the proto package to start with 'grpc.gateway', as seems to be…
… the approach elsewhere.
Configuration menu - View commit details
-
Copy full SHA for d7a9a69 - Browse repository at this point
Copy the full SHA d7a9a69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84c3046 - Browse repository at this point
Copy the full SHA 84c3046View commit details -
Configuration menu - View commit details
-
Copy full SHA for a543b9e - Browse repository at this point
Copy the full SHA a543b9eView commit details