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

JavaSpring.interface.mustache Maven / Gradle / Ivy

There is a newer version: 0.14.1-12rc1
Show newest version
{{#jackson}}
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
{{/jackson}}
/**
* {{#description}}{{.}}{{/description}}{{^description}}{{classname}}{{/description}}
*/
{{#jackson}}
@JsonTypeInfo(
  use = JsonTypeInfo.Id.NAME,
  include = JsonTypeInfo.As.EXISTING_PROPERTY,
  property = "__type")
@JsonSubTypes({
  {{#subTypes}}
  @JsonSubTypes.Type(value = {{classname}}.class, name = "{{classname}}"){{^@last}},{{/@last}}
  {{/subTypes}}
})
{{/jackson}}
public interface {{{classname}}} {

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy