Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ignore static fields in SpringObjectBuilder #207
When using JSONDoc with Spring MVC it automatically generates documentation also for "static" fields causing the UI to show them in the list of fields and in the prefilled JSON in the playground.
generates the following in the list of fields of Pojo class:
and the following in the prefilled JSON in the playground:
A solution is simply to ignore all static fields when iterating over all fields in the SpringObjectBuilder: