Skip to content

Commit 4c9eb8b

Browse files
authored
Merge pull request #33 from shaburov/issue_32_improve_ParameterObject_info
@ParameterObject: getters with mandatory `get` prefix
2 parents 3973190 + ad07208 commit 4c9eb8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/docs/asciidoc/faq.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ springdoc.group-configs[0].packages-to-scan=test.org.springdoc.api
635635
* Request parameter annotated with @ParameterObject will help adding each field of the parameter as a separate request parameter.
636636
* This is compatible with Spring MVC request parameters mapping to POJO object.
637637
* This annotation does not support nested parameter objects.
638+
* POJO object must contain getters for fields with mandatory prefix `get`. Otherwise, the swagger documentation will not show the fields of the annotated entity.
638639

639640
=== How to Integrate Open API 3 with Spring project (not Spring Boot)?
640641
When your application is using spring without (spring-boot), you need to add beans and auto-configuration that are natively provided in spring-boot.

0 commit comments

Comments
 (0)