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

[REQ] Make OpenApiNormalizer extensible #20994

Closed
jpfinne opened this issue Mar 30, 2025 · 0 comments · Fixed by #20995
Closed

[REQ] Make OpenApiNormalizer extensible #20994

jpfinne opened this issue Mar 30, 2025 · 0 comments · Fixed by #20995

Comments

@jpfinne
Copy link
Contributor

jpfinne commented Mar 30, 2025

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

The current OpenApiNormalizer can not be extended. It is initialized in DefaultGenerator with a new OpenAPINormalizer(). So there is not way to override or extends the current implementation.

Customization is only available at the level of libraries or mustache templates.

Describe the solution you'd like

Add a configurable factory constructor to the default OpenapiNormalizer.
Change the private methods to protected methods.

Describe alternatives you've considered

Add the desired customization in the standard code base.

Additional context

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

Successfully merging a pull request may close this issue.

1 participant