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
Will result to: [ERROR] Failed to execute goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:1.0.2:generate (default) on project Test: Execution default of goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:1.0.2:generate failed: int is a primitive
The error seems to come from the apply method of the FormatRule class, which should not call JCodeModel.ref with primitive types.
The text was updated successfully, but these errors were encountered:
Hi,
Use the formatTypeMapping config with primitive types throw an exception at generation.
For instance:
Will result to:
[ERROR] Failed to execute goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:1.0.2:generate (default) on project Test: Execution default of goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:1.0.2:generate failed: int is a primitive
The error seems to come from the
apply
method of theFormatRule
class, which should not callJCodeModel.ref
with primitive types.The text was updated successfully, but these errors were encountered: