Skip to main content

23 posts tagged with "Java"

View All Tags

· One min read

We've updated the version for jackson-databind, a dependency of our Java SDK, due to a vulnerability found in the previous version of the library.

We recommend that you generate and redeploy your Java SDK to get the fix.

· One min read

We have added information about the minimum required Java version to the pom.xml file in Java projects. The enforced version has not changed and is still Java 7. Previously if the user tried to use our Java SDK with a lower version, they would face compilation failure and receive error messages that were sometimes ambiguous. Now a Maven build failure is caused which clearly informs the user that the problem is with the version of Java being used. To benefit from this change, please generate your Java SDKs again.

· 2 min read

We have added a new CodeGen setting that allows you to specify a list of words that Code Generation will not split when converting identifiers from API specification to language-specific identifiers. This is useful for declaring brand names such as APIMatic.

E.g. if you provide the words apimatic and vmware in your the list, APIMaticandvmWare becomes ApimaticAndVmware or apimatic_and_vmware, depending on the place of use.

· One min read

There was a bug where the Discriminator field was not being set by default.

When creating an instance of a model that inherited from another model, the discriminator field was not assigned a default value.

This behavior has now been fixed. Please regenerate your SDK to get the fix.