All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jersey2-template.model.mustache Maven / Gradle / Ivy

Go to download

jersey2 generator from openapi 3.x spec files. Changing to openapitools dependencies.

There is a newer version: 6.6
Show newest version
package {{package}};

import java.util.Objects;
{{#imports}}import {{import}};
{{/imports}}

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonValue;


{{#serializableModel}}import java.io.Serializable;{{/serializableModel}}
{{#models}}
{{#model}}{{#description}}
/**
 * {{description}}
 **/{{/description}}
{{#isEnum}}{{>enumOuterClass}}{{/isEnum}}
{{^isEnum}}
@JsonInclude(value = JsonInclude.Include.NON_NULL)
{{^suppressIgnoreUnknown}}@JsonIgnoreProperties(ignoreUnknown = true){{/suppressIgnoreUnknown}}{{>pojo}}{{/isEnum}}
{{/model}}
{{/models}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy