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.
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 toParameterProcessor#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.