Fix usage of javax.annotation (#6645)

* Fix usage of javax.annotation:javax.annotation-api

* Regenerate samples

```
bin/generate-samples.sh bin/configs/java-* bin/configs/jaxrs-* bin/configs/spring-* bin/configs/kotlin-* bin/configs/other/java-* bin/configs/other/jaxrs-* bin/configs/other/kotlin-* bin/configs/other/openapi3/jaxrs-cxf-client.yaml bin/configs/other/openapi3/kotlin-*
```
This commit is contained in:
Jochen Schalanda
2020-06-14 11:01:18 +02:00
committed by GitHub
parent e07f084e2a
commit 32adeddd8f
3075 changed files with 6183 additions and 4573 deletions

View File

@@ -116,5 +116,6 @@ dependencies {
compile "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version"
compile "com.github.joschi.jackson:jackson-datatype-threetenbp:$jackson_threeten_version"
compile "com.fasterxml.jackson.dataformat:jackson-dataformat-xml:$jackson_version"
compile 'javax.annotation:javax.annotation-api:1.3.2'
testCompile "junit:junit:$junit_version"
}

View File

@@ -257,6 +257,12 @@
<artifactId>jackson-datatype-threetenbp</artifactId>
<version>${jackson-threetenbp-version}</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>${javax-annotation-version}</version>
<scope>provided</scope>
</dependency>
<!-- test dependencies -->
<dependency>
@@ -273,6 +279,7 @@
<jackson-version>2.10.4</jackson-version>
<jackson-databind-version>2.10.4</jackson-databind-version>
<jackson-databind-nullable-version>0.2.1</jackson-databind-nullable-version>
<javax-annotation-version>1.3.2</javax-annotation-version>
<jackson-threetenbp-version>2.9.10</jackson-threetenbp-version>
<maven-plugin-version>1.0.0</maven-plugin-version>
<junit-version>4.13</junit-version>

View File

@@ -64,7 +64,7 @@ import org.openapitools.client.auth.HttpBasicAuth;
import org.openapitools.client.auth.ApiKeyAuth;
import org.openapitools.client.auth.OAuth;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@Component("org.openapitools.client.ApiClient")
public class ApiClient {
public enum CollectionFormat {

View File

@@ -26,7 +26,7 @@ import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@Component("org.openapitools.client.api.AnotherFakeApi")
public class AnotherFakeApi {
private ApiClient apiClient;

View File

@@ -34,7 +34,7 @@ import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@Component("org.openapitools.client.api.FakeApi")
public class FakeApi {
private ApiClient apiClient;

View File

@@ -26,7 +26,7 @@ import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@Component("org.openapitools.client.api.FakeClassnameTags123Api")
public class FakeClassnameTags123Api {
private ApiClient apiClient;

View File

@@ -29,7 +29,7 @@ import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@Component("org.openapitools.client.api.PetApi")
public class PetApi {
private ApiClient apiClient;

View File

@@ -26,7 +26,7 @@ import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@Component("org.openapitools.client.api.StoreApi")
public class StoreApi {
private ApiClient apiClient;

View File

@@ -26,7 +26,7 @@ import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@Component("org.openapitools.client.api.UserApi")
public class UserApi {
private ApiClient apiClient;

View File

@@ -3,7 +3,7 @@ package org.openapitools.client.auth;
import org.springframework.http.HttpHeaders;
import org.springframework.util.MultiValueMap;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ApiKeyAuth implements Authentication {
private final String location;
private final String paramName;

View File

@@ -7,7 +7,7 @@ import org.springframework.http.HttpHeaders;
import org.springframework.util.Base64Utils;
import org.springframework.util.MultiValueMap;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class HttpBasicAuth implements Authentication {
private String username;
private String password;

View File

@@ -7,7 +7,7 @@ import org.springframework.http.HttpHeaders;
import org.springframework.util.Base64Utils;
import org.springframework.util.MultiValueMap;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class HttpBearerAuth implements Authentication {
private final String scheme;
private String bearerToken;

View File

@@ -3,7 +3,7 @@ package org.openapitools.client.auth;
import org.springframework.http.HttpHeaders;
import org.springframework.util.MultiValueMap;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class OAuth implements Authentication {
private String accessToken;

View File

@@ -33,7 +33,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
AdditionalPropertiesAnyType.JSON_PROPERTY_NAME
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "AdditionalPropertiesAnyType")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "AdditionalPropertiesAnyType")

View File

@@ -34,7 +34,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
AdditionalPropertiesArray.JSON_PROPERTY_NAME
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "AdditionalPropertiesArray")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "AdditionalPropertiesArray")

View File

@@ -33,7 +33,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
AdditionalPropertiesBoolean.JSON_PROPERTY_NAME
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "AdditionalPropertiesBoolean")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "AdditionalPropertiesBoolean")

View File

@@ -45,7 +45,7 @@ import javax.xml.bind.annotation.*;
AdditionalPropertiesClass.JSON_PROPERTY_ANYTYPE2,
AdditionalPropertiesClass.JSON_PROPERTY_ANYTYPE3
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "AdditionalPropertiesClass")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "AdditionalPropertiesClass")

View File

@@ -33,7 +33,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
AdditionalPropertiesInteger.JSON_PROPERTY_NAME
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "AdditionalPropertiesInteger")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "AdditionalPropertiesInteger")

View File

@@ -34,7 +34,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
AdditionalPropertiesNumber.JSON_PROPERTY_NAME
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "AdditionalPropertiesNumber")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "AdditionalPropertiesNumber")

View File

@@ -33,7 +33,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
AdditionalPropertiesObject.JSON_PROPERTY_NAME
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "AdditionalPropertiesObject")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "AdditionalPropertiesObject")

View File

@@ -33,7 +33,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
AdditionalPropertiesString.JSON_PROPERTY_NAME
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "AdditionalPropertiesString")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "AdditionalPropertiesString")

View File

@@ -37,7 +37,7 @@ import javax.xml.bind.annotation.*;
Animal.JSON_PROPERTY_CLASS_NAME,
Animal.JSON_PROPERTY_COLOR
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "className", visible = true)
@JsonSubTypes({
@JsonSubTypes.Type(value = BigCat.class, name = "BigCat"),

View File

@@ -34,7 +34,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "ArrayOfArrayOfNumberOnly")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "ArrayOfArrayOfNumberOnly")

View File

@@ -34,7 +34,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "ArrayOfNumberOnly")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "ArrayOfNumberOnly")

View File

@@ -36,7 +36,7 @@ import javax.xml.bind.annotation.*;
ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER,
ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "ArrayTest")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "ArrayTest")

View File

@@ -35,7 +35,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
BigCat.JSON_PROPERTY_KIND
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "className", visible = true)
@JsonSubTypes({
})

View File

@@ -31,7 +31,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
BigCatAllOf.JSON_PROPERTY_KIND
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "BigCatAllOf")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "BigCatAllOf")

View File

@@ -36,7 +36,7 @@ import javax.xml.bind.annotation.*;
Capitalization.JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS,
Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "Capitalization")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "Capitalization")

View File

@@ -36,7 +36,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
Cat.JSON_PROPERTY_DECLAWED
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "className", visible = true)
@JsonSubTypes({
@JsonSubTypes.Type(value = BigCat.class, name = "BigCat"),

View File

@@ -31,7 +31,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
CatAllOf.JSON_PROPERTY_DECLAWED
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "CatAllOf")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "CatAllOf")

View File

@@ -32,7 +32,7 @@ import javax.xml.bind.annotation.*;
Category.JSON_PROPERTY_ID,
Category.JSON_PROPERTY_NAME
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "Category")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "Category")

View File

@@ -32,7 +32,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
ClassModel.JSON_PROPERTY_PROPERTY_CLASS
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "ClassModel")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "ClassModel")

View File

@@ -31,7 +31,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
Client.JSON_PROPERTY_CLIENT
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "Client")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "Client")

View File

@@ -35,7 +35,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
Dog.JSON_PROPERTY_BREED
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "className", visible = true)
@JsonSubTypes({
})

View File

@@ -31,7 +31,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
DogAllOf.JSON_PROPERTY_BREED
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "DogAllOf")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "DogAllOf")

View File

@@ -34,7 +34,7 @@ import javax.xml.bind.annotation.*;
EnumArrays.JSON_PROPERTY_JUST_SYMBOL,
EnumArrays.JSON_PROPERTY_ARRAY_ENUM
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "EnumArrays")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "EnumArrays")

View File

@@ -36,7 +36,7 @@ import javax.xml.bind.annotation.*;
EnumTest.JSON_PROPERTY_ENUM_NUMBER,
EnumTest.JSON_PROPERTY_OUTER_ENUM
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "EnumTest")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "EnumTest")

View File

@@ -34,7 +34,7 @@ import javax.xml.bind.annotation.*;
FileSchemaTestClass.JSON_PROPERTY_FILE,
FileSchemaTestClass.JSON_PROPERTY_FILES
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "FileSchemaTestClass")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "FileSchemaTestClass")

View File

@@ -49,7 +49,7 @@ import javax.xml.bind.annotation.*;
FormatTest.JSON_PROPERTY_PASSWORD,
FormatTest.JSON_PROPERTY_BIG_DECIMAL
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "FormatTest")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "FormatTest")

View File

@@ -32,7 +32,7 @@ import javax.xml.bind.annotation.*;
HasOnlyReadOnly.JSON_PROPERTY_BAR,
HasOnlyReadOnly.JSON_PROPERTY_FOO
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "HasOnlyReadOnly")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "HasOnlyReadOnly")

View File

@@ -37,7 +37,7 @@ import javax.xml.bind.annotation.*;
MapTest.JSON_PROPERTY_DIRECT_MAP,
MapTest.JSON_PROPERTY_INDIRECT_MAP
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "MapTest")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "MapTest")

View File

@@ -39,7 +39,7 @@ import javax.xml.bind.annotation.*;
MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_DATE_TIME,
MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "MixedPropertiesAndAdditionalPropertiesClass")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "MixedPropertiesAndAdditionalPropertiesClass")

View File

@@ -33,7 +33,7 @@ import javax.xml.bind.annotation.*;
Model200Response.JSON_PROPERTY_NAME,
Model200Response.JSON_PROPERTY_PROPERTY_CLASS
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "Name")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "Name")

View File

@@ -33,7 +33,7 @@ import javax.xml.bind.annotation.*;
ModelApiResponse.JSON_PROPERTY_TYPE,
ModelApiResponse.JSON_PROPERTY_MESSAGE
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "ModelApiResponse")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "ModelApiResponse")

View File

@@ -32,7 +32,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
ModelReturn.JSON_PROPERTY_RETURN
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "Return")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "Return")

View File

@@ -35,7 +35,7 @@ import javax.xml.bind.annotation.*;
Name.JSON_PROPERTY_PROPERTY,
Name.JSON_PROPERTY_123NUMBER
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "Name")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "Name")

View File

@@ -32,7 +32,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
NumberOnly.JSON_PROPERTY_JUST_NUMBER
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "NumberOnly")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "NumberOnly")

View File

@@ -37,7 +37,7 @@ import javax.xml.bind.annotation.*;
Order.JSON_PROPERTY_STATUS,
Order.JSON_PROPERTY_COMPLETE
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "Order")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "Order")

View File

@@ -34,7 +34,7 @@ import javax.xml.bind.annotation.*;
OuterComposite.JSON_PROPERTY_MY_STRING,
OuterComposite.JSON_PROPERTY_MY_BOOLEAN
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "OuterComposite")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "OuterComposite")

View File

@@ -42,7 +42,7 @@ import javax.xml.bind.annotation.*;
Pet.JSON_PROPERTY_TAGS,
Pet.JSON_PROPERTY_STATUS
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "Pet")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "Pet")

View File

@@ -32,7 +32,7 @@ import javax.xml.bind.annotation.*;
ReadOnlyFirst.JSON_PROPERTY_BAR,
ReadOnlyFirst.JSON_PROPERTY_BAZ
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "ReadOnlyFirst")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "ReadOnlyFirst")

View File

@@ -31,7 +31,7 @@ import javax.xml.bind.annotation.*;
@JsonPropertyOrder({
SpecialModelName.JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "$special[model.name]")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "$special[model.name]")

View File

@@ -32,7 +32,7 @@ import javax.xml.bind.annotation.*;
Tag.JSON_PROPERTY_ID,
Tag.JSON_PROPERTY_NAME
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "Tag")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "Tag")

View File

@@ -38,7 +38,7 @@ import javax.xml.bind.annotation.*;
TypeHolderDefault.JSON_PROPERTY_BOOL_ITEM,
TypeHolderDefault.JSON_PROPERTY_ARRAY_ITEM
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "TypeHolderDefault")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "TypeHolderDefault")

View File

@@ -39,7 +39,7 @@ import javax.xml.bind.annotation.*;
TypeHolderExample.JSON_PROPERTY_BOOL_ITEM,
TypeHolderExample.JSON_PROPERTY_ARRAY_ITEM
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "TypeHolderExample")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "TypeHolderExample")

View File

@@ -38,7 +38,7 @@ import javax.xml.bind.annotation.*;
User.JSON_PROPERTY_PHONE,
User.JSON_PROPERTY_USER_STATUS
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(name = "User")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(localName = "User")

View File

@@ -62,7 +62,7 @@ import javax.xml.bind.annotation.*;
XmlItem.JSON_PROPERTY_PREFIX_NS_ARRAY,
XmlItem.JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@XmlRootElement(namespace="http://a.com/schema", name = "XmlItem")
@XmlAccessorType(XmlAccessType.FIELD)
@JacksonXmlRootElement(namespace="http://a.com/schema", localName = "XmlItem")