[Java/Spring] Revert to fully qualified import for org.springframework.core.io.Resource (#11461)

* Revert to fully qualified import for org.springframework.core.io.Resource

* Generate Samples
This commit is contained in:
cachescrubber
2022-01-31 04:14:34 +01:00
committed by GitHub
parent ed14ce4dec
commit b261b29efb
106 changed files with 100 additions and 204 deletions

View File

@@ -404,8 +404,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");
importMapping.put("Pageable", "org.springframework.data.domain.Pageable"); importMapping.put("Pageable", "org.springframework.data.domain.Pageable");
importMapping.put("DateTimeFormat", "org.springframework.format.annotation.DateTimeFormat"); importMapping.put("DateTimeFormat", "org.springframework.format.annotation.DateTimeFormat");
importMapping.put("ApiIgnore", "springfox.documentation.annotations.ApiIgnore"); importMapping.put("ApiIgnore", "springfox.documentation.annotations.ApiIgnore");

View File

@@ -792,14 +792,14 @@ public class SpringCodegenTest {
public void testTypeMappings() { public void testTypeMappings() {
final SpringCodegen codegen = new SpringCodegen(); final SpringCodegen codegen = new SpringCodegen();
codegen.processOpts(); codegen.processOpts();
Assert.assertEquals(codegen.typeMapping().get("file"), "Resource"); Assert.assertEquals(codegen.typeMapping().get("file"), "org.springframework.core.io.Resource");
} }
@Test @Test
public void testImportMappings() { public void testImportMappings() {
final SpringCodegen codegen = new SpringCodegen(); final SpringCodegen codegen = new SpringCodegen();
codegen.processOpts(); codegen.processOpts();
Assert.assertEquals(codegen.importMapping().get("Resource"), "org.springframework.core.io.Resource"); Assert.assertEquals(codegen.importMapping().get("org.springframework.core.io.Resource"), "org.springframework.core.io.Resource");
Assert.assertEquals(codegen.importMapping().get("Pageable"), "org.springframework.data.domain.Pageable"); Assert.assertEquals(codegen.importMapping().get("Pageable"), "org.springframework.data.domain.Pageable");
Assert.assertEquals(codegen.importMapping().get("DateTimeFormat"), "org.springframework.format.annotation.DateTimeFormat"); Assert.assertEquals(codegen.importMapping().get("DateTimeFormat"), "org.springframework.format.annotation.DateTimeFormat");
Assert.assertEquals(codegen.importMapping().get("ApiIgnore"), "springfox.documentation.annotations.ApiIgnore"); Assert.assertEquals(codegen.importMapping().get("ApiIgnore"), "springfox.documentation.annotations.ApiIgnore");

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 springfox.documentation.annotations.ApiIgnore;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.Parameters; import io.swagger.v3.oas.annotations.Parameters;

View File

@@ -13,7 +13,6 @@ import java.time.LocalDate;
import java.util.Map; import java.util.Map;
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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;

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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;

View File

@@ -9,7 +9,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -53,7 +52,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
@@ -234,7 +233,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;
} }
@@ -245,11 +244,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@Schema(name = "binary", required = false) @Schema(name = "binary", required = false)
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

@@ -9,7 +9,6 @@ import org.openapitools.model.ModelApiResponse;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import org.springdoc.api.annotations.ParameterObject; import org.springdoc.api.annotations.ParameterObject;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.Parameters; import io.swagger.v3.oas.annotations.Parameters;

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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.Parameters; import io.swagger.v3.oas.annotations.Parameters;

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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.Parameters; import io.swagger.v3.oas.annotations.Parameters;

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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.Parameters; import io.swagger.v3.oas.annotations.Parameters;

View File

@@ -14,7 +14,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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;

View File

@@ -9,7 +9,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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;

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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;

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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;

View File

@@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.threeten.bp.LocalDate; import org.threeten.bp.LocalDate;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
@@ -51,7 +50,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
@@ -232,7 +231,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;
} }
@@ -243,11 +242,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@Schema(name = "binary", required = false) @Schema(name = "binary", required = false)
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

@@ -14,7 +14,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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;

View File

@@ -9,7 +9,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 org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;

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 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.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -53,7 +52,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
@@ -234,7 +233,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;
} }
@@ -245,11 +244,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@Schema(name = "binary", required = false) @Schema(name = "binary", required = false)
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

@@ -14,7 +14,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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;

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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;

View File

@@ -9,7 +9,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -53,7 +52,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
@@ -234,7 +233,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;
} }
@@ -245,11 +244,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@Schema(name = "binary", required = false) @Schema(name = "binary", required = false)
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

@@ -14,7 +14,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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;

View File

@@ -9,7 +9,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 org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;

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 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.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -53,7 +52,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
@@ -234,7 +233,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;
} }
@@ -245,11 +244,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@Schema(name = "binary", required = false) @Schema(name = "binary", required = false)
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

@@ -14,7 +14,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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;

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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;

View File

@@ -9,7 +9,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -53,7 +52,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
@@ -234,7 +233,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;
} }
@@ -245,11 +244,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@Schema(name = "binary", required = false) @Schema(name = "binary", required = false)
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

@@ -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.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.Parameters; import io.swagger.v3.oas.annotations.Parameters;

View File

@@ -14,7 +14,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

@@ -11,7 +11,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -54,7 +53,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = 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;
} }
@@ -246,11 +245,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -11,7 +11,6 @@ import java.time.LocalDate;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -54,7 +53,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = 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;
} }
@@ -246,11 +245,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -11,7 +11,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import javax.validation.Valid; import javax.validation.Valid;
@@ -53,7 +52,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
@@ -234,7 +233,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;
} }
@@ -245,11 +244,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -9,7 +9,6 @@ import springfox.documentation.annotations.ApiIgnore;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
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

@@ -11,7 +11,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -54,7 +53,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = 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;
} }
@@ -246,11 +245,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -11,7 +11,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -56,7 +55,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
@@ -237,7 +236,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
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -9,7 +9,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 org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

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 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 io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.threeten.bp.LocalDate; import org.threeten.bp.LocalDate;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
@@ -52,7 +51,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
@@ -233,7 +232,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;
} }
@@ -244,11 +243,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -11,7 +11,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -54,7 +53,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = 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;
} }
@@ -246,11 +245,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -9,7 +9,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 org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

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 org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;

View File

@@ -11,7 +11,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -54,7 +53,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = 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;
} }
@@ -246,11 +245,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -9,7 +9,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 org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

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 org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;

View File

@@ -11,7 +11,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -54,7 +53,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = 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;
} }
@@ -246,11 +245,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -11,7 +11,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -54,7 +53,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = 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;
} }
@@ -246,11 +245,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -15,7 +15,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

@@ -10,7 +10,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 org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@@ -8,7 +8,6 @@ package org.openapitools.api;
import springfox.documentation.annotations.ApiIgnore; import springfox.documentation.annotations.ApiIgnore;
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

@@ -3,7 +3,6 @@ package org.openapitools.api;
import springfox.documentation.annotations.ApiIgnore; import springfox.documentation.annotations.ApiIgnore;
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 org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;

View File

@@ -11,7 +11,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -54,7 +53,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = 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;
} }
@@ -246,11 +245,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -9,7 +9,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 org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@@ -9,7 +9,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 org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;

View File

@@ -9,7 +9,6 @@ import springfox.documentation.annotations.ApiIgnore;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
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

@@ -4,7 +4,6 @@ import springfox.documentation.annotations.ApiIgnore;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;

View File

@@ -4,7 +4,6 @@ import springfox.documentation.annotations.ApiIgnore;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;

View File

@@ -9,7 +9,6 @@ import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.threeten.bp.LocalDate; import org.threeten.bp.LocalDate;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
@@ -53,7 +52,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
@@ -234,7 +233,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;
} }
@@ -245,11 +244,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -9,7 +9,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 org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@@ -9,7 +9,6 @@ import springfox.documentation.annotations.ApiIgnore;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
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

@@ -4,7 +4,6 @@ import springfox.documentation.annotations.ApiIgnore;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;

View File

@@ -11,7 +11,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -54,7 +53,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = 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;
} }
@@ -246,11 +245,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -9,7 +9,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 org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;

View File

@@ -9,7 +9,6 @@ import springfox.documentation.annotations.ApiIgnore;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
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

@@ -4,7 +4,6 @@ import springfox.documentation.annotations.ApiIgnore;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
import org.openapitools.model.Pet; import org.openapitools.model.Pet;
import org.springframework.core.io.Resource;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;

View File

@@ -9,7 +9,6 @@ import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.threeten.bp.LocalDate; import org.threeten.bp.LocalDate;
import org.threeten.bp.OffsetDateTime; import org.threeten.bp.OffsetDateTime;
@@ -53,7 +52,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
@@ -234,7 +233,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;
} }
@@ -245,11 +244,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -9,7 +9,6 @@ import springfox.documentation.annotations.ApiIgnore;
import org.openapitools.model.ModelApiResponse; import org.openapitools.model.ModelApiResponse;
import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Pageable;
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

@@ -11,7 +11,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -54,7 +53,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = 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;
} }
@@ -246,11 +245,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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

@@ -14,7 +14,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

@@ -11,7 +11,6 @@ import java.time.LocalDate;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.UUID; import java.util.UUID;
import org.springframework.core.io.Resource;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import org.openapitools.jackson.nullable.JsonNullable; import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime; import java.time.OffsetDateTime;
@@ -54,7 +53,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")
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE) @DateTimeFormat(iso = 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;
} }
@@ -246,11 +245,11 @@ public class FormatTest {
*/ */
@Valid @Valid
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
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;
} }

Some files were not shown because too many files have changed in this diff Show More