gnostic
gnostic copied to clipboard
A compiler for APIs described by the OpenAPI Specification with plugins for code generation and other API support tasks.
Does this look like a change you'd accept? I'd like to override the content-type annotation of a streaming API to `text/event-stream` for use with server-sent events. However, when I add...
Fixes #457 Before, a path pattern like ``` /api/v1/{name=workspace/settings/*} ``` would generate a path like ``` /api/v1/workspace/{workspace}/* ``` now it generates ``` /api/v1/workspace/settings/{setting} ```
Given this service definitions: ``` service WorkspaceService { rpc GetWorkspaceSetting(GetWorkspaceSettingRequest) returns (WorkspaceSetting) { option (google.api.http) = {get: "/api/v1/{name=workspace/settings/*}"}; option (google.api.method_signature) = "name"; } message GetWorkspaceSettingRequest { // The resource name...
Hi! Thanks for the work so far! Are there ways to omit methods and fields during OpenAPI3 generation based on [`google.api.field_visibility`](https://github.com/googleapis/googleapis/blob/master/google/api/visibility.proto) or any plans to add support? Example: ```protobuf service...
- Add support for nested enums and avoid naming conflicts - Generate enum values for all enum types, regardless of `enum_type` setting - Use enum field names instead of numeric...