nytimes / openapi2proto

A tool for generating Protobuf v3 schemas and gRPC service definitions from OpenAPI specifications
Apache License 2.0
964 stars 98 forks source link

Snake to Camel Case #41

Closed svperfecta closed 6 years ago

svperfecta commented 7 years ago

Currently, the library doesn't do much work on the path name received from swagger. As an example, it converts POST: /queue/{id}/enqueue_player to something like PostQueuesIdEnqueue_player. I think I'd like that to be PostQueuesIdEnqueueGroup, which seems like a good default for the library. Mind if I send a pull request for this?

jprobinson commented 7 years ago

Yep! Sounds like a good idea, thanks!