If ParameterObject has a fluent chain get methods (without get prefix)
The only working option. If there is a getter and only prefixed with 'get'.
The problem lies in the fact that the DelegatingMethodParameter.customize() method calls inside MethodParameterPojoExtractor.extractFrom(paramClass) which operates on methods, but in fact it would be worth working directly with annotated fields.
Secondly, POJO, unlike JavaBean, does not require getters and setters. I can work with POJO fields directly if they are declared as public/package-privat/protected.
But the main problem is that this behavior is not documented ANYWHERE. Wasted a lot of time on trivia.
Add at least information about this nuance to https://springdoc.org/faq.html
Version: org.springdoc:springdoc-openapi-ui:1.6.6
There are no parameters in swagger
The only working option. If there is a getter and only prefixed with 'get'.
The problem lies in the fact that the
DelegatingMethodParameter.customize()
method calls insideMethodParameterPojoExtractor.extractFrom(paramClass)
which operates on methods, but in fact it would be worth working directly with annotated fields.Secondly, POJO, unlike JavaBean, does not require getters and setters. I can work with POJO fields directly if they are declared as public/package-privat/protected.
But the main problem is that this behavior is not documented ANYWHERE. Wasted a lot of time on trivia. Add at least information about this nuance to https://springdoc.org/faq.html