ductone / protoc-gen-apigw

Apache License 2.0
10 stars 2 forks source link

Set OpenAPI version to 3.0.0, don't use proto names for marshalling #10

Closed loganintech closed 1 year ago

loganintech commented 1 year ago

On the Cone side, the code generator does not create valid objects from the API spec. We believe it's because the openapi generator is actually creating a v3.0.0 spec and not a v3.1.0 spec. Setting this value to 3.0.0 generates no differences in the output yaml (outside of the version), and allows our downstream generator to work properly. This also removes the marshal option that sets proto names, as we need the camelCase data on the receiving field