mobreza 5d32edd964 Java support for application/xml (#5962)
* WIP: CodegenProperty with XML

* WIP: CodegenModel XML bits

* WIP: Jackson XML

* WIP: Java templating

* WIP: Java client withXml flag

* WIP: resttemplate work

* WIP: withXml only when Jackson is used

* WIP: Tabs to spaces

* WIP: java-petstore-resttemplate-withxml sample

* WIP: language: spring

* WIP: language "spring" using library "spring-boot" should include apiPackage in @ComponentScan to detect the API

* WIP: javax.xml for non-Jackson Java and enabled payload logging for jersey2

* WIP: updated java petstore samples

* WIP: JavaSpring with non-jackson XML

* WIP: bin/spring-all-pestore.sh
2017-07-11 17:01:51 +08:00

810 B

EnumTest

Properties

Name Type Description Notes
enumString EnumStringEnum [optional]
enumInteger EnumIntegerEnum [optional]
enumNumber EnumNumberEnum [optional]
outerEnum OuterEnum [optional]

Enum: EnumStringEnum

Name Value
UPPER "UPPER"
LOWER "lower"
EMPTY ""

Enum: EnumIntegerEnum

Name Value
NUMBER_1 1
NUMBER_MINUS_1 -1

Enum: EnumNumberEnum

Name Value
NUMBER_1_DOT_1 1.1
NUMBER_MINUS_1_DOT_2 -1.2