[Spring] openapi-generator generates an incorrect stub for types named "Resource (#8178)

* Initial push for fix #1680

* fix yaml

* update samples

Co-authored-by: JBurgess <joel.burgess@gmail.com>
This commit is contained in:
William Cheng 2020-12-14 20:16:25 +08:00 committed by GitHub
parent 24fda2ab59
commit c974c512ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
76 changed files with 74 additions and 149 deletions

View File

@ -336,8 +336,8 @@ public class SpringCodegen extends AbstractJavaCodegen
} }
additionalProperties.put(UNHANDLED_EXCEPTION_HANDLING, this.isUnhandledException()); additionalProperties.put(UNHANDLED_EXCEPTION_HANDLING, this.isUnhandledException());
typeMapping.put("file", "Resource"); typeMapping.put("file", "org.springframework.core.io.Resource");
importMapping.put("Resource", "org.springframework.core.io.Resource"); importMapping.put("org.springframework.core.io.Resource", "org.springframework.core.io.Resource");
if (useOptional) { if (useOptional) {
writePropertyBack(USE_OPTIONAL, useOptional); writePropertyBack(USE_OPTIONAL, useOptional);

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.time.LocalDateTime;
import java.util.Map; import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -43,7 +42,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -235,7 +234,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -248,11 +247,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -46,7 +45,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -238,7 +237,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -251,11 +250,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -8,7 +8,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;

View File

@ -2,7 +2,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@ -7,7 +7,6 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.threeten.bp.LocalDate; import org.threeten.bp.LocalDate;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
import javax.validation.Valid; import javax.validation.Valid;
@ -43,7 +42,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -235,7 +234,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -248,11 +247,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -8,7 +8,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;

View File

@ -2,7 +2,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -8,7 +8,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;

View File

@ -2,7 +2,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -8,7 +8,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;

View File

@ -2,7 +2,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -8,7 +8,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -8,7 +8,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;

View File

@ -2,7 +2,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;

View File

@ -2,7 +2,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;

View File

@ -7,7 +7,6 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.threeten.bp.LocalDate; import org.threeten.bp.LocalDate;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -8,7 +8,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;

View File

@ -2,7 +2,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -8,7 +8,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;

View File

@ -2,7 +2,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;

View File

@ -7,7 +7,6 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.threeten.bp.LocalDate; import org.threeten.bp.LocalDate;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.virtualan.model.ModelApiResponse; import org.openapitools.virtualan.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.virtualan.model.OuterComposite; import org.openapitools.virtualan.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.virtualan.model.User; import org.openapitools.virtualan.model.User;
import org.openapitools.virtualan.model.XmlItem; import org.openapitools.virtualan.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.virtualan.api;
import org.openapitools.virtualan.model.ModelApiResponse; import org.openapitools.virtualan.model.ModelApiResponse;
import org.openapitools.virtualan.model.Pet; import org.openapitools.virtualan.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import io.virtualan.annotation.ApiVirtual; import io.virtualan.annotation.ApiVirtual;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }

View File

@ -13,7 +13,6 @@ import java.util.Map;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import org.openapitools.model.OuterComposite; import org.openapitools.model.OuterComposite;
import org.springframework.core.io.Resource;
import org.openapitools.model.User; import org.openapitools.model.User;
import org.openapitools.model.XmlItem; import org.openapitools.model.XmlItem;
import io.swagger.annotations.*; import io.swagger.annotations.*;

View File

@ -7,7 +7,6 @@ package org.openapitools.api;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import java.util.Set; import java.util.Set;
import io.swagger.annotations.*; import io.swagger.annotations.*;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@ -9,7 +9,6 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import javax.validation.Valid; import javax.validation.Valid;
import javax.validation.constraints.*; import javax.validation.constraints.*;
@ -44,7 +43,7 @@ public class FormatTest {
private byte[] _byte; private byte[] _byte;
@JsonProperty("binary") @JsonProperty("binary")
private Resource binary; private org.springframework.core.io.Resource binary;
@JsonProperty("date") @JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE) @org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@ -236,7 +235,7 @@ public class FormatTest {
this._byte = _byte; this._byte = _byte;
} }
public FormatTest binary(Resource binary) { public FormatTest binary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
return this; return this;
} }
@ -249,11 +248,11 @@ public class FormatTest {
@Valid @Valid
public Resource getBinary() { public org.springframework.core.io.Resource getBinary() {
return binary; return binary;
} }
public void setBinary(Resource binary) { public void setBinary(org.springframework.core.io.Resource binary) {
this.binary = binary; this.binary = binary;
} }