handlebars.JavaVertXServer.model.mustache Maven / Gradle / Ivy
package {{package}};
{{^x-is-composed-model}}
import java.util.Objects;
{{#imports}}import {{import}};
{{/imports}}
{{#serializableModel}}
import java.io.Serializable;
{{/serializableModel}}
{{#useBeanValidation}}
{{#jakarta}}
import javax.validation.constraints.*;
import javax.validation.Valid;
{{/jakarta}}
{{^jakarta}}
import javax.validation.constraints.*;
import javax.validation.Valid;
{{/jakarta}}
{{/useBeanValidation}}
{{/x-is-composed-model}}
import io.vertx.core.json.JsonObject;
import io.vertx.codegen.annotations.DataObject;
{{#models}}
{{#model}}
{{#isComposedModel}}
{{>interface}}
{{/isComposedModel}}
{{^isComposedModel}}
{{#isEnum}}
{{>enumOuterClass}}
{{/isEnum}}
{{^isEnum}}
{{>pojo}}
{{/isEnum}}
{{/isComposedModel}}
{{/model}}
{{/models}}