Merge remote-tracking branch 'origin/3.2.x' into 4.0.x

This commit is contained in:
William Cheng
2018-07-23 23:05:25 +08:00
102 changed files with 1830 additions and 1900 deletions

View File

@@ -300,7 +300,7 @@ public class FakeApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'number' is set
if (number == null) {
@@ -385,7 +385,7 @@ public class FakeApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public void testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
String path = UriComponentsBuilder.fromPath("/fake").build().toUriString();
@@ -462,7 +462,7 @@ public class FakeApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public void testJsonFormData(String param, String param2) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'param' is set
if (param == null) {

View File

@@ -89,7 +89,7 @@ public class PetApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public void deletePet(Long petId, String apiKey) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'petId' is set
if (petId == null) {
@@ -128,7 +128,7 @@ public class PetApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public List<Pet> findPetsByStatus(List<String> status) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'status' is set
if (status == null) {
@@ -165,7 +165,7 @@ public class PetApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public List<Pet> findPetsByTags(List<String> tags) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'tags' is set
if (tags == null) {
@@ -203,7 +203,7 @@ public class PetApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public Pet getPetById(Long petId) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'petId' is set
if (petId == null) {
@@ -276,7 +276,7 @@ public class PetApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public void updatePetWithForm(Long petId, String name, String status) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'petId' is set
if (petId == null) {
@@ -320,7 +320,7 @@ public class PetApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public ModelApiResponse uploadFile(Long petId, String additionalMetadata, File file) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'petId' is set
if (petId == null) {
@@ -366,7 +366,7 @@ public class PetApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public ModelApiResponse uploadFileWithRequiredFile(Long petId, File requiredFile, String additionalMetadata) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'petId' is set
if (petId == null) {

View File

@@ -54,7 +54,7 @@ public class StoreApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public void deleteOrder(String orderId) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'orderId' is set
if (orderId == null) {
@@ -88,7 +88,7 @@ public class StoreApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public Map<String, Integer> getInventory() throws RestClientException {
Object postBody = new Object();
Object postBody = null;
String path = UriComponentsBuilder.fromPath("/store/inventory").build().toUriString();
@@ -119,7 +119,7 @@ public class StoreApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public Order getOrderById(Long orderId) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'orderId' is set
if (orderId == null) {

View File

@@ -147,7 +147,7 @@ public class UserApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public void deleteUser(String username) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'username' is set
if (username == null) {
@@ -184,7 +184,7 @@ public class UserApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public User getUserByName(String username) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'username' is set
if (username == null) {
@@ -223,7 +223,7 @@ public class UserApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public String loginUser(String username, String password) throws RestClientException {
Object postBody = new Object();
Object postBody = null;
// verify the required parameter 'username' is set
if (username == null) {
@@ -263,7 +263,7 @@ public class UserApi {
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public void logoutUser() throws RestClientException {
Object postBody = new Object();
Object postBody = null;
String path = UriComponentsBuilder.fromPath("/user/logout").build().toUriString();