[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

@@ -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.*;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;
}