You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you run ./gradlew generateJsonSchema2Pojo --info in this MCVE project, you'll find that the generated class has no additionalProperties. You'll also find that the includeAdditionalProperties option is not provided to the jsonschema2pojo's Java API. If I set 'none' to annotationStyle, includeAdditionalProperties is not provided to the Java API either, but it actually generates additionalProperties field.
Here is my MCVE project. You can find the following configurations in
build.gradle
:When you run
./gradlew generateJsonSchema2Pojo --info
in this MCVE project, you'll find that the generated class has noadditionalProperties
. You'll also find that theincludeAdditionalProperties
option is not provided to the jsonschema2pojo's Java API. If I set'none'
toannotationStyle
,includeAdditionalProperties
is not provided to the Java API either, but it actually generatesadditionalProperties
field.Here is INFO level log for your reference:
The text was updated successfully, but these errors were encountered: