From ad0720842a27dacceded9c64f338a37253f2100a Mon Sep 17 00:00:00 2001 From: Oleg Shaburov Date: Fri, 8 Apr 2022 19:57:15 +0300 Subject: [PATCH] @ParameterObject: getters with mandatory `get` prefix --- src/docs/asciidoc/faq.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/docs/asciidoc/faq.adoc b/src/docs/asciidoc/faq.adoc index 1b22b4e..e165311 100644 --- a/src/docs/asciidoc/faq.adoc +++ b/src/docs/asciidoc/faq.adoc @@ -635,6 +635,7 @@ springdoc.group-configs[0].packages-to-scan=test.org.springdoc.api * Request parameter annotated with @ParameterObject will help adding each field of the parameter as a separate request parameter. * This is compatible with Spring MVC request parameters mapping to POJO object. * This annotation does not support nested parameter objects. +* POJO object must contain getters for fields with mandatory prefix `get`. Otherwise, the swagger documentation will not show the fields of the annotated entity. === How to Integrate Open API 3 with Spring project (not Spring Boot)? When your application is using spring without (spring-boot), you need to add beans and auto-configuration that are natively provided in spring-boot.