Closed mustaphazorgati closed 3 years ago
Try playing around with ObjectMapper's visibility modifier. We do setup special config for our sample projects.
Thanks mate! That worked!
Btw: The ModelAttributeSnippet is missing a toggle for failOnUndocumentedFields
I've created a very small PR introducing that toggle.
Hey there!
We have found our that our documentation is incomplete. All fields without the
@JsonProperty
annotation are not there (anymore).It seems to be that the ObjectWriter in the FieldDocumentGenerator#generateDocumentation(Type[], TypeFactory), line 103
writer.acceptJsonFormatVisitor(type, visitorWrapper);
doesn't visit those fields.Is this is configuration problem with the ObjectMapper? If yes, a configuration problem on your side or on our side?
Btw: The ModelAttributeSnippet is missing a toggle for
failOnUndocumentedFields