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

Open api 3.1.0 model resolvers are not used when generating models for constructor parameters of jax-rs resources #4694

Open
Lorenzo-Bracci opened this issue Jun 11, 2024 · 0 comments

Comments

@Lorenzo-Bracci
Copy link

Issue description

When generating schemas based on constructor parameters of jax-rs resources (which would be operation parameters in open api specs), the ReaderUtils#collectConstructorParameters method is used. This method then delegates the creation of schemas for every parameter to ParameterProcessor#applyAnnotations and this method then takes as input information about wether or not the generated open api should be 3.1.0. This information is nevertheless never propagated, therefore when resolving schemas for constructor parameters during open api 3.1.0 generation the model resolvers for oas 3.0.1 are always used rather than the ones for oas 3.1.0.

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

No branches or pull requests

1 participant