openapi2proto icon indicating copy to clipboard operation
openapi2proto copied to clipboard

A tool for generating Protobuf v3 schemas and gRPC service definitions from OpenAPI specifications

Results 22 openapi2proto issues
Sort by recently updated
recently updated
newest added

The -namespace-enums command-line flag doesn't seem to be working because of this. (I've tried it true/false with no effect either way - it always adds prefixes. I can provide a...

I am using this from the README: > `-add-autogenerated-comment` to add comment on top of the generated protos that those files are autogenerated and should not be modified. This is...

I am using a $ref to an array type in my swagger. It's not generating a repeated type. It only generates the repeated type if I inline the array $ref....

Given a definition of the type: ```yaml FinanceConfiguration: commission: type: number format: double maximum: 100 minimum: 0 ``` The value of minimum is lost because it has been set to...

In the README, the following caveat is stated: ``` Only "200" and "201" responses are inspected for determining the expected return value for RPC endpoints. ``` Are there plans to...

According to the fix was made in https://github.com/NYTimes/openapi2proto/issues/27, Now external references are being inlined. This means that if I have such a spec: ``` paths: /path1: parameters: - $ref: 'param1.yaml'...

# Exemple file openapi: "3.0.0" info: description: "This is a example swagger file" version: "1.0.0" title: "Swagger Example" components: schemas: Person: type: object required: - name properties: gender: type: string...

enhancement
help wanted

Reproduction steps: 1. Download Slack's Swagger API json [here](https://api.slack.com/specs/openapi/v2/slack_web.json): ```curl -O https://api.slack.com/specs/openapi/v2/slack_web.json``` 2. Attempt to generate: `openapi2proto -spec ./slack_web.json` 3. Result: ```error: failed to transpile: failed to load OpenAPI spec:...

bug
help wanted

When the addtionalProperties is used for specifying dynamic fields in the swagger 2.0 spec, it is encountering issue.

Unable to set x-global-options which are booleans like java_multiple_files: true Error returned is. error: failed to transpile: failed to load OpenAPI spec: failed to decode content: json: cannot unmarshal bool...

bug
help wanted