GREsau / okapi

OpenAPI (AKA Swagger) document generation for Rust projects
MIT License
606 stars 110 forks source link

Add support for operation id overriding #63

Closed ThouCheese closed 1 year ago

ThouCheese commented 2 years ago

Allows you to override the generated operation id for a route. This is convenient when multiple routes have the same function name, e.g. a crud app that has many route handlers called create or update.

ralpha commented 1 year ago

Merged after resolving some merge conflicts also renamed variable to operation_id so it is more descriptive and same as spec.