Merge remote-tracking branch 'origin/master' into 5.2.x

This commit is contained in:
William Cheng
2021-04-28 17:48:21 +08:00
1666 changed files with 42781 additions and 17405 deletions

View File

@@ -3,7 +3,7 @@ package org.openapitools.configuration;
import com.fasterxml.jackson.dataformat.yaml.YAMLMapper;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.core.io.Resource;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.stereotype.Controller;
import org.springframework.util.StreamUtils;
import org.springframework.web.bind.annotation.GetMapping;

View File

@@ -44,7 +44,7 @@ public class FormatTest {
private byte[] _byte;
@JsonProperty("binary")
private org.springframework.core.io.Resource binary;
private org.springframework.web.multipart.MultipartFile binary;
@JsonProperty("date")
@org.springframework.format.annotation.DateTimeFormat(iso = org.springframework.format.annotation.DateTimeFormat.ISO.DATE)
@@ -236,7 +236,7 @@ public class FormatTest {
this._byte = _byte;
}
public FormatTest binary(org.springframework.core.io.Resource binary) {
public FormatTest binary(org.springframework.web.multipart.MultipartFile binary) {
this.binary = binary;
return this;
}
@@ -249,11 +249,11 @@ public class FormatTest {
@Valid
public org.springframework.core.io.Resource getBinary() {
public org.springframework.web.multipart.MultipartFile getBinary() {
return binary;
}
public void setBinary(org.springframework.core.io.Resource binary) {
public void setBinary(org.springframework.web.multipart.MultipartFile binary) {
this.binary = binary;
}