forked from loafle/openapi-generator-original
[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:
@@ -404,8 +404,8 @@ public class SpringCodegen extends AbstractJavaCodegen
|
||||
}
|
||||
additionalProperties.put(UNHANDLED_EXCEPTION_HANDLING, this.isUnhandledException());
|
||||
|
||||
typeMapping.put("file", "Resource");
|
||||
importMapping.put("Resource", "org.springframework.core.io.Resource");
|
||||
typeMapping.put("file", "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("DateTimeFormat", "org.springframework.format.annotation.DateTimeFormat");
|
||||
importMapping.put("ApiIgnore", "springfox.documentation.annotations.ApiIgnore");
|
||||
|
||||
@@ -792,14 +792,14 @@ public class SpringCodegenTest {
|
||||
public void testTypeMappings() {
|
||||
final SpringCodegen codegen = new SpringCodegen();
|
||||
codegen.processOpts();
|
||||
Assert.assertEquals(codegen.typeMapping().get("file"), "Resource");
|
||||
Assert.assertEquals(codegen.typeMapping().get("file"), "org.springframework.core.io.Resource");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testImportMappings() {
|
||||
final SpringCodegen codegen = new SpringCodegen();
|
||||
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("DateTimeFormat"), "org.springframework.format.annotation.DateTimeFormat");
|
||||
Assert.assertEquals(codegen.importMapping().get("ApiIgnore"), "springfox.documentation.annotations.ApiIgnore");
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
|
||||
@@ -9,7 +9,6 @@ import springfox.documentation.annotations.ApiIgnore;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.Parameters;
|
||||
|
||||
@@ -13,7 +13,6 @@ import java.time.LocalDate;
|
||||
import java.util.Map;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -53,7 +52,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -234,7 +233,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -245,11 +244,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@Schema(name = "binary", required = false)
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ import org.openapitools.model.ModelApiResponse;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.springdoc.api.annotations.ParameterObject;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.Parameters;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.Parameters;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.Parameters;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.Parameters;
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
@@ -2,7 +2,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
@@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonCreator;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.threeten.bp.LocalDate;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
@@ -51,7 +50,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -232,7 +231,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -243,11 +242,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@Schema(name = "binary", required = false)
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
@@ -2,7 +2,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -53,7 +52,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -234,7 +233,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -245,11 +244,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@Schema(name = "binary", required = false)
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -53,7 +52,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -234,7 +233,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -245,11 +244,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@Schema(name = "binary", required = false)
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
@@ -2,7 +2,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -53,7 +52,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -234,7 +233,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -245,11 +244,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@Schema(name = "binary", required = false)
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -53,7 +52,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -234,7 +233,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -245,11 +244,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@Schema(name = "binary", required = false)
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.Parameters;
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -54,7 +53,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -235,7 +234,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -246,11 +245,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.time.LocalDateTime;
|
||||
import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -54,7 +53,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -235,7 +234,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -246,11 +245,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.time.OffsetDateTime;
|
||||
import javax.validation.Valid;
|
||||
@@ -53,7 +52,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -234,7 +233,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -245,11 +244,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -9,7 +9,6 @@ import springfox.documentation.annotations.ApiIgnore;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -54,7 +53,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -235,7 +234,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -246,11 +245,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -56,7 +55,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -237,7 +236,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -248,11 +247,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
|
||||
@@ -2,7 +2,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
|
||||
@@ -9,7 +9,6 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.threeten.bp.LocalDate;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
@@ -52,7 +51,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -233,7 +232,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -244,11 +243,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -54,7 +53,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -235,7 +234,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -246,11 +245,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
|
||||
@@ -2,7 +2,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -54,7 +53,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -235,7 +234,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -246,11 +245,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
|
||||
@@ -2,7 +2,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -54,7 +53,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -235,7 +234,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -246,11 +245,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -54,7 +53,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -235,7 +234,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -246,11 +245,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -10,7 +10,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -8,7 +8,6 @@ package org.openapitools.api;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
|
||||
@@ -3,7 +3,6 @@ package org.openapitools.api;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -54,7 +53,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -235,7 +234,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -246,11 +245,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
|
||||
@@ -9,7 +9,6 @@ import springfox.documentation.annotations.ApiIgnore;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
|
||||
@@ -4,7 +4,6 @@ import springfox.documentation.annotations.ApiIgnore;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
|
||||
@@ -4,7 +4,6 @@ import springfox.documentation.annotations.ApiIgnore;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.threeten.bp.LocalDate;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
@@ -53,7 +52,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -234,7 +233,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -245,11 +244,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -9,7 +9,6 @@ import springfox.documentation.annotations.ApiIgnore;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
|
||||
@@ -4,7 +4,6 @@ import springfox.documentation.annotations.ApiIgnore;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -54,7 +53,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -235,7 +234,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -246,11 +245,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -9,7 +9,6 @@ import springfox.documentation.annotations.ApiIgnore;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
|
||||
@@ -4,7 +4,6 @@ import springfox.documentation.annotations.ApiIgnore;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
|
||||
@@ -9,7 +9,6 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.threeten.bp.LocalDate;
|
||||
import org.threeten.bp.OffsetDateTime;
|
||||
@@ -53,7 +52,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -234,7 +233,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -245,11 +244,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -9,7 +9,6 @@ import springfox.documentation.annotations.ApiIgnore;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -54,7 +53,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -235,7 +234,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -246,11 +245,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import java.util.Map;
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import io.swagger.annotations.*;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.springframework.core.io.Resource;
|
||||
import java.util.Set;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
import java.time.OffsetDateTime;
|
||||
@@ -54,7 +53,7 @@ public class FormatTest {
|
||||
private byte[] _byte;
|
||||
|
||||
@JsonProperty("binary")
|
||||
private Resource binary;
|
||||
private org.springframework.core.io.Resource binary;
|
||||
|
||||
@JsonProperty("date")
|
||||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
|
||||
@@ -235,7 +234,7 @@ public class FormatTest {
|
||||
this._byte = _byte;
|
||||
}
|
||||
|
||||
public FormatTest binary(Resource binary) {
|
||||
public FormatTest binary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
return this;
|
||||
}
|
||||
@@ -246,11 +245,11 @@ public class FormatTest {
|
||||
*/
|
||||
@Valid
|
||||
@ApiModelProperty(value = "")
|
||||
public Resource getBinary() {
|
||||
public org.springframework.core.io.Resource getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
public void setBinary(Resource binary) {
|
||||
public void setBinary(org.springframework.core.io.Resource binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user