Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override operationId operation-id-override #1802

Open
maxim-at-moralis opened this issue Nov 18, 2024 · 1 comment
Open

Override operationId operation-id-override #1802

maxim-at-moralis opened this issue Nov 18, 2024 · 1 comment

Comments

@maxim-at-moralis
Copy link

maxim-at-moralis commented Nov 18, 2024

Is your feature request related to a problem? Please describe.

Our "operationId" generation is not reliable (there could be duplicates and naming issues) and we would like to control it on client side.

Describe the solution you'd like

Have a bilt-in decorator to override operationId

Describe alternatives you've considered

Manual patching of swagger.json but before the main processing

Additional context

Similar to https://redocly.com/docs/cli/decorators/operation-description-override

@tatomyr
Copy link
Contributor

tatomyr commented Nov 18, 2024

Could you provide an example of how the decorator should work?
Just in case, you can build a custom decorator to achieve that: https://redocly.com/docs/cli/custom-plugins/custom-decorators. Please let me know if I can help you with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants