-
Notifications
You must be signed in to change notification settings - Fork 181
Generating toString, hashCode and equals for Java classes generated from RAML DataTypes #223
Comments
@mplanchant: you should be able to use RAML 1.0 annotations along with those plugins. I hope that helps. |
I think this one is important. Otherwise, those generated files need to be modified which defeats the purpose of generation a bit. |
the raml-java-tools is coming with plugins to allow this |
equalsAndHashCode.
equals and hashCode are in for ObjectTypeDeclaration. I'll do unions later today. |
equalsAndHashCode for unions.
unions are done. |
toString plugin for types, called core.toString |
FYI, those plugin options are documented here: https://github.com/mulesoft-labs/raml-java-tools/blob/19fe0a1b7e2dcbaa82a9d85eff57784f8db53779/raml-to-pojo/README.md |
It is possible to generate Java classes with toString, hashCode and equals methods from JSON schemas (described here). Is this possible when Java classes are generated from RAML DataTypes?
The text was updated successfully, but these errors were encountered: