mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-23 17:20:51 +00:00
* update generated sample for spring boot #4091 * add beanvalidation annotations to spring #4091 * add tests for spring #4091 * cleanup spring-cloud (client lib) #4091 * update client sample spring-cloud #4091 * replace tabs * add beanvalidation annotations to spring #4091 * add tests for spring #4091 * cleanup spring-cloud (client lib) #4091 * update client sample spring-cloud #4091 * replace tabs * update spring-cloud sample
22 lines
376 B
Plaintext
22 lines
376 B
Plaintext
package {{package}};
|
|
|
|
import java.util.Objects;
|
|
{{#imports}}import {{import}};
|
|
{{/imports}}
|
|
{{#serializableModel}}
|
|
import java.io.Serializable;
|
|
{{/serializableModel}}
|
|
{{#useBeanValidation}}
|
|
import javax.validation.constraints.*;
|
|
{{/useBeanValidation}}
|
|
{{#models}}
|
|
{{#model}}
|
|
{{#isEnum}}
|
|
{{>enumOuterClass}}
|
|
{{/isEnum}}
|
|
{{^isEnum}}
|
|
{{>pojo}}
|
|
{{/isEnum}}
|
|
{{/model}}
|
|
{{/models}}
|