mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 00:43:46 +00:00
Move the singleRequestParameter template into a separate file (#21489)
* Move the singleRequestParameter template into a separate file * Update formatting of non-singleRequestParameter webclient and restclient samples
This commit is contained in:
committed by
GitHub
parent
e948355127
commit
050dcae3ab
@@ -122,6 +122,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeBigDecimalMapWithResponseSpec() throws RestClientResponseException {
|
||||
return fakeBigDecimalMapRequestCreation();
|
||||
}
|
||||
|
||||
/**
|
||||
* Health check endpoint
|
||||
*
|
||||
@@ -186,6 +187,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeHealthGetWithResponseSpec() throws RestClientResponseException {
|
||||
return fakeHealthGetRequestCreation();
|
||||
}
|
||||
|
||||
/**
|
||||
* test http signature authentication
|
||||
*
|
||||
@@ -268,6 +270,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeHttpSignatureTestWithResponseSpec(@jakarta.annotation.Nonnull Pet pet, @jakarta.annotation.Nullable String query1, @jakarta.annotation.Nullable String header1) throws RestClientResponseException {
|
||||
return fakeHttpSignatureTestRequestCreation(pet, query1, header1);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of outer boolean types
|
||||
@@ -338,6 +341,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterBooleanSerializeWithResponseSpec(@jakarta.annotation.Nullable Boolean body) throws RestClientResponseException {
|
||||
return fakeOuterBooleanSerializeRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of object with outer number type
|
||||
@@ -408,6 +412,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterCompositeSerializeWithResponseSpec(@jakarta.annotation.Nullable OuterComposite outerComposite) throws RestClientResponseException {
|
||||
return fakeOuterCompositeSerializeRequestCreation(outerComposite);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of outer number types
|
||||
@@ -478,6 +483,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterNumberSerializeWithResponseSpec(@jakarta.annotation.Nullable BigDecimal body) throws RestClientResponseException {
|
||||
return fakeOuterNumberSerializeRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of outer string types
|
||||
@@ -548,6 +554,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterStringSerializeWithResponseSpec(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
|
||||
return fakeOuterStringSerializeRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of enum (int) properties with examples
|
||||
@@ -622,6 +629,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakePropertyEnumIntegerSerializeWithResponseSpec(@jakarta.annotation.Nonnull OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws RestClientResponseException {
|
||||
return fakePropertyEnumIntegerSerializeRequestCreation(outerObjectWithEnumProperty);
|
||||
}
|
||||
|
||||
/**
|
||||
* test referenced additionalProperties
|
||||
*
|
||||
@@ -691,6 +699,7 @@ public class FakeApi {
|
||||
public ResponseSpec testAdditionalPropertiesReferenceWithResponseSpec(@jakarta.annotation.Nonnull Map<String, Object> requestBody) throws RestClientResponseException {
|
||||
return testAdditionalPropertiesReferenceRequestCreation(requestBody);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* For this test, the body has to be a binary file.
|
||||
@@ -760,6 +769,7 @@ public class FakeApi {
|
||||
public ResponseSpec testBodyWithBinaryWithResponseSpec(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
|
||||
return testBodyWithBinaryRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* For this test, the body for this request must reference a schema named `File`.
|
||||
@@ -829,6 +839,7 @@ public class FakeApi {
|
||||
public ResponseSpec testBodyWithFileSchemaWithResponseSpec(@jakarta.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass) throws RestClientResponseException {
|
||||
return testBodyWithFileSchemaRequestCreation(fileSchemaTestClass);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
@@ -908,6 +919,7 @@ public class FakeApi {
|
||||
public ResponseSpec testBodyWithQueryParamsWithResponseSpec(@jakarta.annotation.Nonnull String query, @jakarta.annotation.Nonnull User user) throws RestClientResponseException {
|
||||
return testBodyWithQueryParamsRequestCreation(query, user);
|
||||
}
|
||||
|
||||
/**
|
||||
* To test \"client\" model
|
||||
* To test \"client\" model
|
||||
@@ -982,6 +994,7 @@ public class FakeApi {
|
||||
public ResponseSpec testClientModelWithResponseSpec(@jakarta.annotation.Nonnull Client client) throws RestClientResponseException {
|
||||
return testClientModelRequestCreation(client);
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
@@ -1148,6 +1161,7 @@ public class FakeApi {
|
||||
public ResponseSpec testEndpointParametersWithResponseSpec(@jakarta.annotation.Nonnull BigDecimal number, @jakarta.annotation.Nonnull Double _double, @jakarta.annotation.Nonnull String patternWithoutDelimiter, @jakarta.annotation.Nonnull byte[] _byte, @jakarta.annotation.Nullable Integer integer, @jakarta.annotation.Nullable Integer int32, @jakarta.annotation.Nullable Long int64, @jakarta.annotation.Nullable Float _float, @jakarta.annotation.Nullable String string, @jakarta.annotation.Nullable File binary, @jakarta.annotation.Nullable LocalDate date, @jakarta.annotation.Nullable OffsetDateTime dateTime, @jakarta.annotation.Nullable String password, @jakarta.annotation.Nullable String paramCallback) throws RestClientResponseException {
|
||||
return testEndpointParametersRequestCreation(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
|
||||
}
|
||||
|
||||
/**
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
@@ -1265,6 +1279,7 @@ public class FakeApi {
|
||||
public ResponseSpec testEnumParametersWithResponseSpec(@jakarta.annotation.Nullable List<String> enumHeaderStringArray, @jakarta.annotation.Nullable String enumHeaderString, @jakarta.annotation.Nullable List<String> enumQueryStringArray, @jakarta.annotation.Nullable String enumQueryString, @jakarta.annotation.Nullable Integer enumQueryInteger, @jakarta.annotation.Nullable Double enumQueryDouble, @jakarta.annotation.Nullable List<EnumClass> enumQueryModelArray, @jakarta.annotation.Nullable List<String> enumFormStringArray, @jakarta.annotation.Nullable String enumFormString) throws RestClientResponseException {
|
||||
return testEnumParametersRequestCreation(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
@@ -1370,6 +1385,7 @@ public class FakeApi {
|
||||
public ResponseSpec testGroupParametersWithResponseSpec(@jakarta.annotation.Nonnull Integer requiredStringGroup, @jakarta.annotation.Nonnull Boolean requiredBooleanGroup, @jakarta.annotation.Nonnull Long requiredInt64Group, @jakarta.annotation.Nullable Integer stringGroup, @jakarta.annotation.Nullable Boolean booleanGroup, @jakarta.annotation.Nullable Long int64Group) throws RestClientResponseException {
|
||||
return testGroupParametersRequestCreation(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
|
||||
}
|
||||
|
||||
/**
|
||||
* test inline additionalProperties
|
||||
*
|
||||
@@ -1439,6 +1455,7 @@ public class FakeApi {
|
||||
public ResponseSpec testInlineAdditionalPropertiesWithResponseSpec(@jakarta.annotation.Nonnull Map<String, String> requestBody) throws RestClientResponseException {
|
||||
return testInlineAdditionalPropertiesRequestCreation(requestBody);
|
||||
}
|
||||
|
||||
/**
|
||||
* test inline free-form additionalProperties
|
||||
*
|
||||
@@ -1508,6 +1525,7 @@ public class FakeApi {
|
||||
public ResponseSpec testInlineFreeformAdditionalPropertiesWithResponseSpec(@jakarta.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws RestClientResponseException {
|
||||
return testInlineFreeformAdditionalPropertiesRequestCreation(testInlineFreeformAdditionalPropertiesRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
@@ -1590,6 +1608,7 @@ public class FakeApi {
|
||||
public ResponseSpec testJsonFormDataWithResponseSpec(@jakarta.annotation.Nonnull String param, @jakarta.annotation.Nonnull String param2) throws RestClientResponseException {
|
||||
return testJsonFormDataRequestCreation(param, param2);
|
||||
}
|
||||
|
||||
/**
|
||||
* test nullable parent property
|
||||
*
|
||||
@@ -1659,6 +1678,7 @@ public class FakeApi {
|
||||
public ResponseSpec testNullableWithResponseSpec(@jakarta.annotation.Nonnull ChildWithNullable childWithNullable) throws RestClientResponseException {
|
||||
return testNullableRequestCreation(childWithNullable);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
@@ -1778,6 +1798,7 @@ public class FakeApi {
|
||||
public ResponseSpec testQueryParameterCollectionFormatWithResponseSpec(@jakarta.annotation.Nonnull List<String> pipe, @jakarta.annotation.Nonnull List<String> ioutil, @jakarta.annotation.Nonnull List<String> http, @jakarta.annotation.Nonnull List<String> url, @jakarta.annotation.Nonnull List<String> context, @jakarta.annotation.Nonnull String allowEmpty, @jakarta.annotation.Nullable Map<String, String> language) throws RestClientResponseException {
|
||||
return testQueryParameterCollectionFormatRequestCreation(pipe, ioutil, http, url, context, allowEmpty, language);
|
||||
}
|
||||
|
||||
/**
|
||||
* test referenced string map
|
||||
*
|
||||
|
||||
@@ -120,6 +120,7 @@ public class PetApi {
|
||||
public ResponseSpec addPetWithResponseSpec(@jakarta.annotation.Nonnull Pet pet) throws RestClientResponseException {
|
||||
return addPetRequestCreation(pet);
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
@@ -200,6 +201,7 @@ public class PetApi {
|
||||
public ResponseSpec deletePetWithResponseSpec(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws RestClientResponseException {
|
||||
return deletePetRequestCreation(petId, apiKey);
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds Pets by status
|
||||
* Multiple status values can be provided with comma separated strings
|
||||
@@ -278,6 +280,7 @@ public class PetApi {
|
||||
public ResponseSpec findPetsByStatusWithResponseSpec(@jakarta.annotation.Nonnull List<String> status) throws RestClientResponseException {
|
||||
return findPetsByStatusRequestCreation(status);
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds Pets by tags
|
||||
* Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||
@@ -358,6 +361,7 @@ public class PetApi {
|
||||
public ResponseSpec findPetsByTagsWithResponseSpec(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
|
||||
return findPetsByTagsRequestCreation(tags);
|
||||
}
|
||||
|
||||
/**
|
||||
* Find pet by ID
|
||||
* Returns a single pet
|
||||
@@ -440,6 +444,7 @@ public class PetApi {
|
||||
public ResponseSpec getPetByIdWithResponseSpec(@jakarta.annotation.Nonnull Long petId) throws RestClientResponseException {
|
||||
return getPetByIdRequestCreation(petId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update an existing pet
|
||||
*
|
||||
@@ -521,6 +526,7 @@ public class PetApi {
|
||||
public ResponseSpec updatePetWithResponseSpec(@jakarta.annotation.Nonnull Pet pet) throws RestClientResponseException {
|
||||
return updatePetRequestCreation(pet);
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
@@ -609,6 +615,7 @@ public class PetApi {
|
||||
public ResponseSpec updatePetWithFormWithResponseSpec(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String name, @jakarta.annotation.Nullable String status) throws RestClientResponseException {
|
||||
return updatePetWithFormRequestCreation(petId, name, status);
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
@@ -698,6 +705,7 @@ public class PetApi {
|
||||
public ResponseSpec uploadFileWithResponseSpec(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String additionalMetadata, @jakarta.annotation.Nullable File _file) throws RestClientResponseException {
|
||||
return uploadFileRequestCreation(petId, additionalMetadata, _file);
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
|
||||
@@ -117,6 +117,7 @@ public class StoreApi {
|
||||
public ResponseSpec deleteOrderWithResponseSpec(@jakarta.annotation.Nonnull String orderId) throws RestClientResponseException {
|
||||
return deleteOrderRequestCreation(orderId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns pet inventories by status
|
||||
* Returns a map of status codes to quantities
|
||||
@@ -181,6 +182,7 @@ public class StoreApi {
|
||||
public ResponseSpec getInventoryWithResponseSpec() throws RestClientResponseException {
|
||||
return getInventoryRequestCreation();
|
||||
}
|
||||
|
||||
/**
|
||||
* Find purchase order by ID
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
|
||||
@@ -263,6 +265,7 @@ public class StoreApi {
|
||||
public ResponseSpec getOrderByIdWithResponseSpec(@jakarta.annotation.Nonnull Long orderId) throws RestClientResponseException {
|
||||
return getOrderByIdRequestCreation(orderId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Place an order for a pet
|
||||
*
|
||||
|
||||
@@ -114,6 +114,7 @@ public class UserApi {
|
||||
public ResponseSpec createUserWithResponseSpec(@jakarta.annotation.Nonnull User user) throws RestClientResponseException {
|
||||
return createUserRequestCreation(user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
@@ -183,6 +184,7 @@ public class UserApi {
|
||||
public ResponseSpec createUsersWithArrayInputWithResponseSpec(@jakarta.annotation.Nonnull List<User> user) throws RestClientResponseException {
|
||||
return createUsersWithArrayInputRequestCreation(user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
@@ -252,6 +254,7 @@ public class UserApi {
|
||||
public ResponseSpec createUsersWithListInputWithResponseSpec(@jakarta.annotation.Nonnull List<User> user) throws RestClientResponseException {
|
||||
return createUsersWithListInputRequestCreation(user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete user
|
||||
* This can only be done by the logged in user.
|
||||
@@ -325,6 +328,7 @@ public class UserApi {
|
||||
public ResponseSpec deleteUserWithResponseSpec(@jakarta.annotation.Nonnull String username) throws RestClientResponseException {
|
||||
return deleteUserRequestCreation(username);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get user by user name
|
||||
*
|
||||
@@ -407,6 +411,7 @@ public class UserApi {
|
||||
public ResponseSpec getUserByNameWithResponseSpec(@jakarta.annotation.Nonnull String username) throws RestClientResponseException {
|
||||
return getUserByNameRequestCreation(username);
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
@@ -494,6 +499,7 @@ public class UserApi {
|
||||
public ResponseSpec loginUserWithResponseSpec(@jakarta.annotation.Nonnull String username, @jakarta.annotation.Nonnull String password) throws RestClientResponseException {
|
||||
return loginUserRequestCreation(username, password);
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs out current logged in user session
|
||||
*
|
||||
@@ -553,6 +559,7 @@ public class UserApi {
|
||||
public ResponseSpec logoutUserWithResponseSpec() throws RestClientResponseException {
|
||||
return logoutUserRequestCreation();
|
||||
}
|
||||
|
||||
/**
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
|
||||
@@ -122,6 +122,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeBigDecimalMapWithResponseSpec() throws RestClientResponseException {
|
||||
return fakeBigDecimalMapRequestCreation();
|
||||
}
|
||||
|
||||
/**
|
||||
* Health check endpoint
|
||||
*
|
||||
@@ -245,37 +246,37 @@ public class FakeApi {
|
||||
}
|
||||
|
||||
/**
|
||||
* test http signature authentication
|
||||
*
|
||||
* test http signature authentication
|
||||
*
|
||||
* <p><b>200</b> - The instance started successfully
|
||||
* @param requestParameters The fakeHttpSignatureTest request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void fakeHttpSignatureTest(FakeHttpSignatureTestRequest requestParameters) throws RestClientResponseException {
|
||||
this.fakeHttpSignatureTest(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
this.fakeHttpSignatureTest(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
}
|
||||
|
||||
/**
|
||||
* test http signature authentication
|
||||
*
|
||||
/**
|
||||
* test http signature authentication
|
||||
*
|
||||
* <p><b>200</b> - The instance started successfully
|
||||
* @param requestParameters The fakeHttpSignatureTest request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> fakeHttpSignatureTestWithHttpInfo(FakeHttpSignatureTestRequest requestParameters) throws RestClientResponseException {
|
||||
return this.fakeHttpSignatureTestWithHttpInfo(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
return this.fakeHttpSignatureTestWithHttpInfo(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
}
|
||||
|
||||
/**
|
||||
* test http signature authentication
|
||||
*
|
||||
/**
|
||||
* test http signature authentication
|
||||
*
|
||||
* <p><b>200</b> - The instance started successfully
|
||||
* @param requestParameters The fakeHttpSignatureTest request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec fakeHttpSignatureTestWithResponseSpec(FakeHttpSignatureTestRequest requestParameters) throws RestClientResponseException {
|
||||
return this.fakeHttpSignatureTestWithResponseSpec(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
return this.fakeHttpSignatureTestWithResponseSpec(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -360,6 +361,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeHttpSignatureTestWithResponseSpec(@jakarta.annotation.Nonnull Pet pet, @jakarta.annotation.Nullable String query1, @jakarta.annotation.Nullable String header1) throws RestClientResponseException {
|
||||
return fakeHttpSignatureTestRequestCreation(pet, query1, header1);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of outer boolean types
|
||||
@@ -430,6 +432,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterBooleanSerializeWithResponseSpec(@jakarta.annotation.Nullable Boolean body) throws RestClientResponseException {
|
||||
return fakeOuterBooleanSerializeRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of object with outer number type
|
||||
@@ -500,6 +503,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterCompositeSerializeWithResponseSpec(@jakarta.annotation.Nullable OuterComposite outerComposite) throws RestClientResponseException {
|
||||
return fakeOuterCompositeSerializeRequestCreation(outerComposite);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of outer number types
|
||||
@@ -570,6 +574,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterNumberSerializeWithResponseSpec(@jakarta.annotation.Nullable BigDecimal body) throws RestClientResponseException {
|
||||
return fakeOuterNumberSerializeRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of outer string types
|
||||
@@ -640,6 +645,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterStringSerializeWithResponseSpec(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
|
||||
return fakeOuterStringSerializeRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of enum (int) properties with examples
|
||||
@@ -714,6 +720,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakePropertyEnumIntegerSerializeWithResponseSpec(@jakarta.annotation.Nonnull OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws RestClientResponseException {
|
||||
return fakePropertyEnumIntegerSerializeRequestCreation(outerObjectWithEnumProperty);
|
||||
}
|
||||
|
||||
/**
|
||||
* test referenced additionalProperties
|
||||
*
|
||||
@@ -783,6 +790,7 @@ public class FakeApi {
|
||||
public ResponseSpec testAdditionalPropertiesReferenceWithResponseSpec(@jakarta.annotation.Nonnull Map<String, Object> requestBody) throws RestClientResponseException {
|
||||
return testAdditionalPropertiesReferenceRequestCreation(requestBody);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* For this test, the body has to be a binary file.
|
||||
@@ -852,6 +860,7 @@ public class FakeApi {
|
||||
public ResponseSpec testBodyWithBinaryWithResponseSpec(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
|
||||
return testBodyWithBinaryRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* For this test, the body for this request must reference a schema named `File`.
|
||||
@@ -969,37 +978,37 @@ public class FakeApi {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
* <p><b>200</b> - Success
|
||||
* @param requestParameters The testBodyWithQueryParams request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void testBodyWithQueryParams(TestBodyWithQueryParamsRequest requestParameters) throws RestClientResponseException {
|
||||
this.testBodyWithQueryParams(requestParameters.query(), requestParameters.user());
|
||||
this.testBodyWithQueryParams(requestParameters.query(), requestParameters.user());
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
/**
|
||||
*
|
||||
*
|
||||
* <p><b>200</b> - Success
|
||||
* @param requestParameters The testBodyWithQueryParams request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> testBodyWithQueryParamsWithHttpInfo(TestBodyWithQueryParamsRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testBodyWithQueryParamsWithHttpInfo(requestParameters.query(), requestParameters.user());
|
||||
return this.testBodyWithQueryParamsWithHttpInfo(requestParameters.query(), requestParameters.user());
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
/**
|
||||
*
|
||||
*
|
||||
* <p><b>200</b> - Success
|
||||
* @param requestParameters The testBodyWithQueryParams request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testBodyWithQueryParamsWithResponseSpec(TestBodyWithQueryParamsRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testBodyWithQueryParamsWithResponseSpec(requestParameters.query(), requestParameters.user());
|
||||
return this.testBodyWithQueryParamsWithResponseSpec(requestParameters.query(), requestParameters.user());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1081,6 +1090,7 @@ public class FakeApi {
|
||||
public ResponseSpec testBodyWithQueryParamsWithResponseSpec(@jakarta.annotation.Nonnull String query, @jakarta.annotation.Nonnull User user) throws RestClientResponseException {
|
||||
return testBodyWithQueryParamsRequestCreation(query, user);
|
||||
}
|
||||
|
||||
/**
|
||||
* To test \"client\" model
|
||||
* To test \"client\" model
|
||||
@@ -1335,40 +1345,40 @@ public class FakeApi {
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* <p><b>400</b> - Invalid username supplied
|
||||
* <p><b>404</b> - User not found
|
||||
* @param requestParameters The testEndpointParameters request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void testEndpointParameters(TestEndpointParametersRequest requestParameters) throws RestClientResponseException {
|
||||
this.testEndpointParameters(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
this.testEndpointParameters(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
/**
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* <p><b>400</b> - Invalid username supplied
|
||||
* <p><b>404</b> - User not found
|
||||
* @param requestParameters The testEndpointParameters request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> testEndpointParametersWithHttpInfo(TestEndpointParametersRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testEndpointParametersWithHttpInfo(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
return this.testEndpointParametersWithHttpInfo(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
/**
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* <p><b>400</b> - Invalid username supplied
|
||||
* <p><b>404</b> - User not found
|
||||
* @param requestParameters The testEndpointParameters request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testEndpointParametersWithResponseSpec(TestEndpointParametersRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testEndpointParametersWithResponseSpec(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
return this.testEndpointParametersWithResponseSpec(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1662,40 +1672,40 @@ public class FakeApi {
|
||||
}
|
||||
|
||||
/**
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
* <p><b>400</b> - Invalid request
|
||||
* <p><b>404</b> - Not found
|
||||
* @param requestParameters The testEnumParameters request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void testEnumParameters(TestEnumParametersRequest requestParameters) throws RestClientResponseException {
|
||||
this.testEnumParameters(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
this.testEnumParameters(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
}
|
||||
|
||||
/**
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
/**
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
* <p><b>400</b> - Invalid request
|
||||
* <p><b>404</b> - Not found
|
||||
* @param requestParameters The testEnumParameters request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> testEnumParametersWithHttpInfo(TestEnumParametersRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testEnumParametersWithHttpInfo(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
return this.testEnumParametersWithHttpInfo(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
}
|
||||
|
||||
/**
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
/**
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
* <p><b>400</b> - Invalid request
|
||||
* <p><b>404</b> - Not found
|
||||
* @param requestParameters The testEnumParameters request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testEnumParametersWithResponseSpec(TestEnumParametersRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testEnumParametersWithResponseSpec(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
return this.testEnumParametersWithResponseSpec(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1907,37 +1917,37 @@ public class FakeApi {
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* <p><b>400</b> - Something wrong
|
||||
* @param requestParameters The testGroupParameters request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void testGroupParameters(TestGroupParametersRequest requestParameters) throws RestClientResponseException {
|
||||
this.testGroupParameters(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
this.testGroupParameters(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* <p><b>400</b> - Something wrong
|
||||
* @param requestParameters The testGroupParameters request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> testGroupParametersWithHttpInfo(TestGroupParametersRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testGroupParametersWithHttpInfo(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
return this.testGroupParametersWithHttpInfo(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* <p><b>400</b> - Something wrong
|
||||
* @param requestParameters The testGroupParameters request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testGroupParametersWithResponseSpec(TestGroupParametersRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testGroupParametersWithResponseSpec(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
return this.testGroupParametersWithResponseSpec(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2045,6 +2055,7 @@ public class FakeApi {
|
||||
public ResponseSpec testGroupParametersWithResponseSpec(@jakarta.annotation.Nonnull Integer requiredStringGroup, @jakarta.annotation.Nonnull Boolean requiredBooleanGroup, @jakarta.annotation.Nonnull Long requiredInt64Group, @jakarta.annotation.Nullable Integer stringGroup, @jakarta.annotation.Nullable Boolean booleanGroup, @jakarta.annotation.Nullable Long int64Group) throws RestClientResponseException {
|
||||
return testGroupParametersRequestCreation(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
|
||||
}
|
||||
|
||||
/**
|
||||
* test inline additionalProperties
|
||||
*
|
||||
@@ -2114,6 +2125,7 @@ public class FakeApi {
|
||||
public ResponseSpec testInlineAdditionalPropertiesWithResponseSpec(@jakarta.annotation.Nonnull Map<String, String> requestBody) throws RestClientResponseException {
|
||||
return testInlineAdditionalPropertiesRequestCreation(requestBody);
|
||||
}
|
||||
|
||||
/**
|
||||
* test inline free-form additionalProperties
|
||||
*
|
||||
@@ -2231,37 +2243,37 @@ public class FakeApi {
|
||||
}
|
||||
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
* test json serialization of form data
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The testJsonFormData request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void testJsonFormData(TestJsonFormDataRequest requestParameters) throws RestClientResponseException {
|
||||
this.testJsonFormData(requestParameters.param(), requestParameters.param2());
|
||||
this.testJsonFormData(requestParameters.param(), requestParameters.param2());
|
||||
}
|
||||
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The testJsonFormData request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> testJsonFormDataWithHttpInfo(TestJsonFormDataRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testJsonFormDataWithHttpInfo(requestParameters.param(), requestParameters.param2());
|
||||
return this.testJsonFormDataWithHttpInfo(requestParameters.param(), requestParameters.param2());
|
||||
}
|
||||
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The testJsonFormData request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testJsonFormDataWithResponseSpec(TestJsonFormDataRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testJsonFormDataWithResponseSpec(requestParameters.param(), requestParameters.param2());
|
||||
return this.testJsonFormDataWithResponseSpec(requestParameters.param(), requestParameters.param2());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2346,6 +2358,7 @@ public class FakeApi {
|
||||
public ResponseSpec testJsonFormDataWithResponseSpec(@jakarta.annotation.Nonnull String param, @jakarta.annotation.Nonnull String param2) throws RestClientResponseException {
|
||||
return testJsonFormDataRequestCreation(param, param2);
|
||||
}
|
||||
|
||||
/**
|
||||
* test nullable parent property
|
||||
*
|
||||
@@ -2518,37 +2531,37 @@ public class FakeApi {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
* <p><b>200</b> - Success
|
||||
* @param requestParameters The testQueryParameterCollectionFormat request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void testQueryParameterCollectionFormat(TestQueryParameterCollectionFormatRequest requestParameters) throws RestClientResponseException {
|
||||
this.testQueryParameterCollectionFormat(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
this.testQueryParameterCollectionFormat(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
/**
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
* <p><b>200</b> - Success
|
||||
* @param requestParameters The testQueryParameterCollectionFormat request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> testQueryParameterCollectionFormatWithHttpInfo(TestQueryParameterCollectionFormatRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testQueryParameterCollectionFormatWithHttpInfo(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
return this.testQueryParameterCollectionFormatWithHttpInfo(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
/**
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
* <p><b>200</b> - Success
|
||||
* @param requestParameters The testQueryParameterCollectionFormat request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testQueryParameterCollectionFormatWithResponseSpec(TestQueryParameterCollectionFormatRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testQueryParameterCollectionFormatWithResponseSpec(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
return this.testQueryParameterCollectionFormatWithResponseSpec(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2670,6 +2683,7 @@ public class FakeApi {
|
||||
public ResponseSpec testQueryParameterCollectionFormatWithResponseSpec(@jakarta.annotation.Nonnull List<String> pipe, @jakarta.annotation.Nonnull List<String> ioutil, @jakarta.annotation.Nonnull List<String> http, @jakarta.annotation.Nonnull List<String> url, @jakarta.annotation.Nonnull List<String> context, @jakarta.annotation.Nonnull String allowEmpty, @jakarta.annotation.Nullable Map<String, String> language) throws RestClientResponseException {
|
||||
return testQueryParameterCollectionFormatRequestCreation(pipe, ioutil, http, url, context, allowEmpty, language);
|
||||
}
|
||||
|
||||
/**
|
||||
* test referenced string map
|
||||
*
|
||||
|
||||
@@ -168,40 +168,40 @@ public class PetApi {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
* Deletes a pet
|
||||
*
|
||||
* <p><b>200</b> - Successful operation
|
||||
* <p><b>400</b> - Invalid pet value
|
||||
* @param requestParameters The deletePet request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void deletePet(DeletePetRequest requestParameters) throws RestClientResponseException {
|
||||
this.deletePet(requestParameters.petId(), requestParameters.apiKey());
|
||||
this.deletePet(requestParameters.petId(), requestParameters.apiKey());
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
* <p><b>200</b> - Successful operation
|
||||
* <p><b>400</b> - Invalid pet value
|
||||
* @param requestParameters The deletePet request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws RestClientResponseException {
|
||||
return this.deletePetWithHttpInfo(requestParameters.petId(), requestParameters.apiKey());
|
||||
return this.deletePetWithHttpInfo(requestParameters.petId(), requestParameters.apiKey());
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
* <p><b>200</b> - Successful operation
|
||||
* <p><b>400</b> - Invalid pet value
|
||||
* @param requestParameters The deletePet request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws RestClientResponseException {
|
||||
return this.deletePetWithResponseSpec(requestParameters.petId(), requestParameters.apiKey());
|
||||
return this.deletePetWithResponseSpec(requestParameters.petId(), requestParameters.apiKey());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -284,6 +284,7 @@ public class PetApi {
|
||||
public ResponseSpec deletePetWithResponseSpec(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws RestClientResponseException {
|
||||
return deletePetRequestCreation(petId, apiKey);
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds Pets by status
|
||||
* Multiple status values can be provided with comma separated strings
|
||||
@@ -362,6 +363,7 @@ public class PetApi {
|
||||
public ResponseSpec findPetsByStatusWithResponseSpec(@jakarta.annotation.Nonnull List<String> status) throws RestClientResponseException {
|
||||
return findPetsByStatusRequestCreation(status);
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds Pets by tags
|
||||
* Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||
@@ -442,6 +444,7 @@ public class PetApi {
|
||||
public ResponseSpec findPetsByTagsWithResponseSpec(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
|
||||
return findPetsByTagsRequestCreation(tags);
|
||||
}
|
||||
|
||||
/**
|
||||
* Find pet by ID
|
||||
* Returns a single pet
|
||||
@@ -524,6 +527,7 @@ public class PetApi {
|
||||
public ResponseSpec getPetByIdWithResponseSpec(@jakarta.annotation.Nonnull Long petId) throws RestClientResponseException {
|
||||
return getPetByIdRequestCreation(petId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update an existing pet
|
||||
*
|
||||
@@ -664,40 +668,40 @@ public class PetApi {
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
* <p><b>200</b> - Successful operation
|
||||
* <p><b>405</b> - Invalid input
|
||||
* @param requestParameters The updatePetWithForm request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void updatePetWithForm(UpdatePetWithFormRequest requestParameters) throws RestClientResponseException {
|
||||
this.updatePetWithForm(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
this.updatePetWithForm(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
* <p><b>200</b> - Successful operation
|
||||
* <p><b>405</b> - Invalid input
|
||||
* @param requestParameters The updatePetWithForm request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> updatePetWithFormWithHttpInfo(UpdatePetWithFormRequest requestParameters) throws RestClientResponseException {
|
||||
return this.updatePetWithFormWithHttpInfo(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
return this.updatePetWithFormWithHttpInfo(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
* <p><b>200</b> - Successful operation
|
||||
* <p><b>405</b> - Invalid input
|
||||
* @param requestParameters The updatePetWithForm request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec updatePetWithFormWithResponseSpec(UpdatePetWithFormRequest requestParameters) throws RestClientResponseException {
|
||||
return this.updatePetWithFormWithResponseSpec(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
return this.updatePetWithFormWithResponseSpec(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -847,39 +851,39 @@ public class PetApi {
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
* uploads an image
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The uploadFile request parameters as object
|
||||
* @return ModelApiResponse
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ModelApiResponse uploadFile(UploadFileRequest requestParameters) throws RestClientResponseException {
|
||||
return this.uploadFile(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
return this.uploadFile(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The uploadFile request parameters as object
|
||||
* @return ResponseEntity<ModelApiResponse>
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<ModelApiResponse> uploadFileWithHttpInfo(UploadFileRequest requestParameters) throws RestClientResponseException {
|
||||
return this.uploadFileWithHttpInfo(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
return this.uploadFileWithHttpInfo(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The uploadFile request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec uploadFileWithResponseSpec(UploadFileRequest requestParameters) throws RestClientResponseException {
|
||||
return this.uploadFileWithResponseSpec(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
return this.uploadFileWithResponseSpec(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1030,39 +1034,39 @@ public class PetApi {
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
* uploads an image (required)
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The uploadFileWithRequiredFile request parameters as object
|
||||
* @return ModelApiResponse
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ModelApiResponse uploadFileWithRequiredFile(UploadFileWithRequiredFileRequest requestParameters) throws RestClientResponseException {
|
||||
return this.uploadFileWithRequiredFile(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
return this.uploadFileWithRequiredFile(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The uploadFileWithRequiredFile request parameters as object
|
||||
* @return ResponseEntity<ModelApiResponse>
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<ModelApiResponse> uploadFileWithRequiredFileWithHttpInfo(UploadFileWithRequiredFileRequest requestParameters) throws RestClientResponseException {
|
||||
return this.uploadFileWithRequiredFileWithHttpInfo(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
return this.uploadFileWithRequiredFileWithHttpInfo(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The uploadFileWithRequiredFile request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec uploadFileWithRequiredFileWithResponseSpec(UploadFileWithRequiredFileRequest requestParameters) throws RestClientResponseException {
|
||||
return this.uploadFileWithRequiredFileWithResponseSpec(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
return this.uploadFileWithRequiredFileWithResponseSpec(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -117,6 +117,7 @@ public class StoreApi {
|
||||
public ResponseSpec deleteOrderWithResponseSpec(@jakarta.annotation.Nonnull String orderId) throws RestClientResponseException {
|
||||
return deleteOrderRequestCreation(orderId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns pet inventories by status
|
||||
* Returns a map of status codes to quantities
|
||||
@@ -181,6 +182,7 @@ public class StoreApi {
|
||||
public ResponseSpec getInventoryWithResponseSpec() throws RestClientResponseException {
|
||||
return getInventoryRequestCreation();
|
||||
}
|
||||
|
||||
/**
|
||||
* Find purchase order by ID
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
|
||||
@@ -263,6 +265,7 @@ public class StoreApi {
|
||||
public ResponseSpec getOrderByIdWithResponseSpec(@jakarta.annotation.Nonnull Long orderId) throws RestClientResponseException {
|
||||
return getOrderByIdRequestCreation(orderId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Place an order for a pet
|
||||
*
|
||||
|
||||
@@ -114,6 +114,7 @@ public class UserApi {
|
||||
public ResponseSpec createUserWithResponseSpec(@jakarta.annotation.Nonnull User user) throws RestClientResponseException {
|
||||
return createUserRequestCreation(user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
@@ -183,6 +184,7 @@ public class UserApi {
|
||||
public ResponseSpec createUsersWithArrayInputWithResponseSpec(@jakarta.annotation.Nonnull List<User> user) throws RestClientResponseException {
|
||||
return createUsersWithArrayInputRequestCreation(user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
@@ -252,6 +254,7 @@ public class UserApi {
|
||||
public ResponseSpec createUsersWithListInputWithResponseSpec(@jakarta.annotation.Nonnull List<User> user) throws RestClientResponseException {
|
||||
return createUsersWithListInputRequestCreation(user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete user
|
||||
* This can only be done by the logged in user.
|
||||
@@ -325,6 +328,7 @@ public class UserApi {
|
||||
public ResponseSpec deleteUserWithResponseSpec(@jakarta.annotation.Nonnull String username) throws RestClientResponseException {
|
||||
return deleteUserRequestCreation(username);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get user by user name
|
||||
*
|
||||
@@ -455,42 +459,42 @@ public class UserApi {
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
* Logs user into the system
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* <p><b>400</b> - Invalid username/password supplied
|
||||
* @param requestParameters The loginUser request parameters as object
|
||||
* @return String
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public String loginUser(LoginUserRequest requestParameters) throws RestClientResponseException {
|
||||
return this.loginUser(requestParameters.username(), requestParameters.password());
|
||||
return this.loginUser(requestParameters.username(), requestParameters.password());
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* <p><b>400</b> - Invalid username/password supplied
|
||||
* @param requestParameters The loginUser request parameters as object
|
||||
* @return ResponseEntity<String>
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<String> loginUserWithHttpInfo(LoginUserRequest requestParameters) throws RestClientResponseException {
|
||||
return this.loginUserWithHttpInfo(requestParameters.username(), requestParameters.password());
|
||||
return this.loginUserWithHttpInfo(requestParameters.username(), requestParameters.password());
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* <p><b>400</b> - Invalid username/password supplied
|
||||
* @param requestParameters The loginUser request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec loginUserWithResponseSpec(LoginUserRequest requestParameters) throws RestClientResponseException {
|
||||
return this.loginUserWithResponseSpec(requestParameters.username(), requestParameters.password());
|
||||
return this.loginUserWithResponseSpec(requestParameters.username(), requestParameters.password());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -580,6 +584,7 @@ public class UserApi {
|
||||
public ResponseSpec loginUserWithResponseSpec(@jakarta.annotation.Nonnull String username, @jakarta.annotation.Nonnull String password) throws RestClientResponseException {
|
||||
return loginUserRequestCreation(username, password);
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs out current logged in user session
|
||||
*
|
||||
@@ -687,40 +692,40 @@ public class UserApi {
|
||||
}
|
||||
|
||||
/**
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
* <p><b>400</b> - Invalid user supplied
|
||||
* <p><b>404</b> - User not found
|
||||
* @param requestParameters The updateUser request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void updateUser(UpdateUserRequest requestParameters) throws RestClientResponseException {
|
||||
this.updateUser(requestParameters.username(), requestParameters.user());
|
||||
this.updateUser(requestParameters.username(), requestParameters.user());
|
||||
}
|
||||
|
||||
/**
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
/**
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
* <p><b>400</b> - Invalid user supplied
|
||||
* <p><b>404</b> - User not found
|
||||
* @param requestParameters The updateUser request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> updateUserWithHttpInfo(UpdateUserRequest requestParameters) throws RestClientResponseException {
|
||||
return this.updateUserWithHttpInfo(requestParameters.username(), requestParameters.user());
|
||||
return this.updateUserWithHttpInfo(requestParameters.username(), requestParameters.user());
|
||||
}
|
||||
|
||||
/**
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
/**
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
* <p><b>400</b> - Invalid user supplied
|
||||
* <p><b>404</b> - User not found
|
||||
* @param requestParameters The updateUser request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec updateUserWithResponseSpec(UpdateUserRequest requestParameters) throws RestClientResponseException {
|
||||
return this.updateUserWithResponseSpec(requestParameters.username(), requestParameters.user());
|
||||
return this.updateUserWithResponseSpec(requestParameters.username(), requestParameters.user());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -122,6 +122,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeBigDecimalMapWithResponseSpec() throws RestClientResponseException {
|
||||
return fakeBigDecimalMapRequestCreation();
|
||||
}
|
||||
|
||||
/**
|
||||
* Health check endpoint
|
||||
*
|
||||
@@ -190,37 +191,37 @@ public class FakeApi {
|
||||
public record FakeHttpSignatureTestRequest(@jakarta.annotation.Nonnull Pet pet, @jakarta.annotation.Nullable String query1, @jakarta.annotation.Nullable String header1){}
|
||||
|
||||
/**
|
||||
* test http signature authentication
|
||||
*
|
||||
* test http signature authentication
|
||||
*
|
||||
* <p><b>200</b> - The instance started successfully
|
||||
* @param requestParameters The fakeHttpSignatureTest request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void fakeHttpSignatureTest(FakeHttpSignatureTestRequest requestParameters) throws RestClientResponseException {
|
||||
this.fakeHttpSignatureTest(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
this.fakeHttpSignatureTest(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
}
|
||||
|
||||
/**
|
||||
* test http signature authentication
|
||||
*
|
||||
/**
|
||||
* test http signature authentication
|
||||
*
|
||||
* <p><b>200</b> - The instance started successfully
|
||||
* @param requestParameters The fakeHttpSignatureTest request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> fakeHttpSignatureTestWithHttpInfo(FakeHttpSignatureTestRequest requestParameters) throws RestClientResponseException {
|
||||
return this.fakeHttpSignatureTestWithHttpInfo(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
return this.fakeHttpSignatureTestWithHttpInfo(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
}
|
||||
|
||||
/**
|
||||
* test http signature authentication
|
||||
*
|
||||
/**
|
||||
* test http signature authentication
|
||||
*
|
||||
* <p><b>200</b> - The instance started successfully
|
||||
* @param requestParameters The fakeHttpSignatureTest request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec fakeHttpSignatureTestWithResponseSpec(FakeHttpSignatureTestRequest requestParameters) throws RestClientResponseException {
|
||||
return this.fakeHttpSignatureTestWithResponseSpec(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
return this.fakeHttpSignatureTestWithResponseSpec(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -305,6 +306,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeHttpSignatureTestWithResponseSpec(@jakarta.annotation.Nonnull Pet pet, @jakarta.annotation.Nullable String query1, @jakarta.annotation.Nullable String header1) throws RestClientResponseException {
|
||||
return fakeHttpSignatureTestRequestCreation(pet, query1, header1);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of outer boolean types
|
||||
@@ -375,6 +377,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterBooleanSerializeWithResponseSpec(@jakarta.annotation.Nullable Boolean body) throws RestClientResponseException {
|
||||
return fakeOuterBooleanSerializeRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of object with outer number type
|
||||
@@ -445,6 +448,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterCompositeSerializeWithResponseSpec(@jakarta.annotation.Nullable OuterComposite outerComposite) throws RestClientResponseException {
|
||||
return fakeOuterCompositeSerializeRequestCreation(outerComposite);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of outer number types
|
||||
@@ -515,6 +519,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterNumberSerializeWithResponseSpec(@jakarta.annotation.Nullable BigDecimal body) throws RestClientResponseException {
|
||||
return fakeOuterNumberSerializeRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of outer string types
|
||||
@@ -585,6 +590,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterStringSerializeWithResponseSpec(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
|
||||
return fakeOuterStringSerializeRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of enum (int) properties with examples
|
||||
@@ -659,6 +665,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakePropertyEnumIntegerSerializeWithResponseSpec(@jakarta.annotation.Nonnull OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws RestClientResponseException {
|
||||
return fakePropertyEnumIntegerSerializeRequestCreation(outerObjectWithEnumProperty);
|
||||
}
|
||||
|
||||
/**
|
||||
* test referenced additionalProperties
|
||||
*
|
||||
@@ -728,6 +735,7 @@ public class FakeApi {
|
||||
public ResponseSpec testAdditionalPropertiesReferenceWithResponseSpec(@jakarta.annotation.Nonnull Map<String, Object> requestBody) throws RestClientResponseException {
|
||||
return testAdditionalPropertiesReferenceRequestCreation(requestBody);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* For this test, the body has to be a binary file.
|
||||
@@ -797,6 +805,7 @@ public class FakeApi {
|
||||
public ResponseSpec testBodyWithBinaryWithResponseSpec(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
|
||||
return testBodyWithBinaryRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* For this test, the body for this request must reference a schema named `File`.
|
||||
@@ -870,37 +879,37 @@ public class FakeApi {
|
||||
public record TestBodyWithQueryParamsRequest(@jakarta.annotation.Nonnull String query, @jakarta.annotation.Nonnull User user){}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
* <p><b>200</b> - Success
|
||||
* @param requestParameters The testBodyWithQueryParams request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void testBodyWithQueryParams(TestBodyWithQueryParamsRequest requestParameters) throws RestClientResponseException {
|
||||
this.testBodyWithQueryParams(requestParameters.query(), requestParameters.user());
|
||||
this.testBodyWithQueryParams(requestParameters.query(), requestParameters.user());
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
/**
|
||||
*
|
||||
*
|
||||
* <p><b>200</b> - Success
|
||||
* @param requestParameters The testBodyWithQueryParams request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> testBodyWithQueryParamsWithHttpInfo(TestBodyWithQueryParamsRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testBodyWithQueryParamsWithHttpInfo(requestParameters.query(), requestParameters.user());
|
||||
return this.testBodyWithQueryParamsWithHttpInfo(requestParameters.query(), requestParameters.user());
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
/**
|
||||
*
|
||||
*
|
||||
* <p><b>200</b> - Success
|
||||
* @param requestParameters The testBodyWithQueryParams request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testBodyWithQueryParamsWithResponseSpec(TestBodyWithQueryParamsRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testBodyWithQueryParamsWithResponseSpec(requestParameters.query(), requestParameters.user());
|
||||
return this.testBodyWithQueryParamsWithResponseSpec(requestParameters.query(), requestParameters.user());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -982,6 +991,7 @@ public class FakeApi {
|
||||
public ResponseSpec testBodyWithQueryParamsWithResponseSpec(@jakarta.annotation.Nonnull String query, @jakarta.annotation.Nonnull User user) throws RestClientResponseException {
|
||||
return testBodyWithQueryParamsRequestCreation(query, user);
|
||||
}
|
||||
|
||||
/**
|
||||
* To test \"client\" model
|
||||
* To test \"client\" model
|
||||
@@ -1060,40 +1070,40 @@ public class FakeApi {
|
||||
public record TestEndpointParametersRequest(@jakarta.annotation.Nonnull BigDecimal number, @jakarta.annotation.Nonnull Double _double, @jakarta.annotation.Nonnull String patternWithoutDelimiter, @jakarta.annotation.Nonnull byte[] _byte, @jakarta.annotation.Nullable Integer integer, @jakarta.annotation.Nullable Integer int32, @jakarta.annotation.Nullable Long int64, @jakarta.annotation.Nullable Float _float, @jakarta.annotation.Nullable String string, @jakarta.annotation.Nullable File binary, @jakarta.annotation.Nullable LocalDate date, @jakarta.annotation.Nullable OffsetDateTime dateTime, @jakarta.annotation.Nullable String password, @jakarta.annotation.Nullable String paramCallback){}
|
||||
|
||||
/**
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* <p><b>400</b> - Invalid username supplied
|
||||
* <p><b>404</b> - User not found
|
||||
* @param requestParameters The testEndpointParameters request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void testEndpointParameters(TestEndpointParametersRequest requestParameters) throws RestClientResponseException {
|
||||
this.testEndpointParameters(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
this.testEndpointParameters(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
/**
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* <p><b>400</b> - Invalid username supplied
|
||||
* <p><b>404</b> - User not found
|
||||
* @param requestParameters The testEndpointParameters request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> testEndpointParametersWithHttpInfo(TestEndpointParametersRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testEndpointParametersWithHttpInfo(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
return this.testEndpointParametersWithHttpInfo(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
/**
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* <p><b>400</b> - Invalid username supplied
|
||||
* <p><b>404</b> - User not found
|
||||
* @param requestParameters The testEndpointParameters request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testEndpointParametersWithResponseSpec(TestEndpointParametersRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testEndpointParametersWithResponseSpec(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
return this.testEndpointParametersWithResponseSpec(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1266,40 +1276,40 @@ public class FakeApi {
|
||||
public record TestEnumParametersRequest(@jakarta.annotation.Nullable List<String> enumHeaderStringArray, @jakarta.annotation.Nullable String enumHeaderString, @jakarta.annotation.Nullable List<String> enumQueryStringArray, @jakarta.annotation.Nullable String enumQueryString, @jakarta.annotation.Nullable Integer enumQueryInteger, @jakarta.annotation.Nullable Double enumQueryDouble, @jakarta.annotation.Nullable List<EnumClass> enumQueryModelArray, @jakarta.annotation.Nullable List<String> enumFormStringArray, @jakarta.annotation.Nullable String enumFormString){}
|
||||
|
||||
/**
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
* <p><b>400</b> - Invalid request
|
||||
* <p><b>404</b> - Not found
|
||||
* @param requestParameters The testEnumParameters request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void testEnumParameters(TestEnumParametersRequest requestParameters) throws RestClientResponseException {
|
||||
this.testEnumParameters(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
this.testEnumParameters(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
}
|
||||
|
||||
/**
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
/**
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
* <p><b>400</b> - Invalid request
|
||||
* <p><b>404</b> - Not found
|
||||
* @param requestParameters The testEnumParameters request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> testEnumParametersWithHttpInfo(TestEnumParametersRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testEnumParametersWithHttpInfo(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
return this.testEnumParametersWithHttpInfo(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
}
|
||||
|
||||
/**
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
/**
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
* <p><b>400</b> - Invalid request
|
||||
* <p><b>404</b> - Not found
|
||||
* @param requestParameters The testEnumParameters request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testEnumParametersWithResponseSpec(TestEnumParametersRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testEnumParametersWithResponseSpec(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
return this.testEnumParametersWithResponseSpec(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1423,37 +1433,37 @@ public class FakeApi {
|
||||
public record TestGroupParametersRequest(@jakarta.annotation.Nonnull Integer requiredStringGroup, @jakarta.annotation.Nonnull Boolean requiredBooleanGroup, @jakarta.annotation.Nonnull Long requiredInt64Group, @jakarta.annotation.Nullable Integer stringGroup, @jakarta.annotation.Nullable Boolean booleanGroup, @jakarta.annotation.Nullable Long int64Group){}
|
||||
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* <p><b>400</b> - Something wrong
|
||||
* @param requestParameters The testGroupParameters request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void testGroupParameters(TestGroupParametersRequest requestParameters) throws RestClientResponseException {
|
||||
this.testGroupParameters(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
this.testGroupParameters(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* <p><b>400</b> - Something wrong
|
||||
* @param requestParameters The testGroupParameters request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> testGroupParametersWithHttpInfo(TestGroupParametersRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testGroupParametersWithHttpInfo(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
return this.testGroupParametersWithHttpInfo(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* <p><b>400</b> - Something wrong
|
||||
* @param requestParameters The testGroupParameters request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testGroupParametersWithResponseSpec(TestGroupParametersRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testGroupParametersWithResponseSpec(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
return this.testGroupParametersWithResponseSpec(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1561,6 +1571,7 @@ public class FakeApi {
|
||||
public ResponseSpec testGroupParametersWithResponseSpec(@jakarta.annotation.Nonnull Integer requiredStringGroup, @jakarta.annotation.Nonnull Boolean requiredBooleanGroup, @jakarta.annotation.Nonnull Long requiredInt64Group, @jakarta.annotation.Nullable Integer stringGroup, @jakarta.annotation.Nullable Boolean booleanGroup, @jakarta.annotation.Nullable Long int64Group) throws RestClientResponseException {
|
||||
return testGroupParametersRequestCreation(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
|
||||
}
|
||||
|
||||
/**
|
||||
* test inline additionalProperties
|
||||
*
|
||||
@@ -1630,6 +1641,7 @@ public class FakeApi {
|
||||
public ResponseSpec testInlineAdditionalPropertiesWithResponseSpec(@jakarta.annotation.Nonnull Map<String, String> requestBody) throws RestClientResponseException {
|
||||
return testInlineAdditionalPropertiesRequestCreation(requestBody);
|
||||
}
|
||||
|
||||
/**
|
||||
* test inline free-form additionalProperties
|
||||
*
|
||||
@@ -1703,37 +1715,37 @@ public class FakeApi {
|
||||
public record TestJsonFormDataRequest(@jakarta.annotation.Nonnull String param, @jakarta.annotation.Nonnull String param2){}
|
||||
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
* test json serialization of form data
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The testJsonFormData request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void testJsonFormData(TestJsonFormDataRequest requestParameters) throws RestClientResponseException {
|
||||
this.testJsonFormData(requestParameters.param(), requestParameters.param2());
|
||||
this.testJsonFormData(requestParameters.param(), requestParameters.param2());
|
||||
}
|
||||
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The testJsonFormData request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> testJsonFormDataWithHttpInfo(TestJsonFormDataRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testJsonFormDataWithHttpInfo(requestParameters.param(), requestParameters.param2());
|
||||
return this.testJsonFormDataWithHttpInfo(requestParameters.param(), requestParameters.param2());
|
||||
}
|
||||
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The testJsonFormData request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testJsonFormDataWithResponseSpec(TestJsonFormDataRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testJsonFormDataWithResponseSpec(requestParameters.param(), requestParameters.param2());
|
||||
return this.testJsonFormDataWithResponseSpec(requestParameters.param(), requestParameters.param2());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1818,6 +1830,7 @@ public class FakeApi {
|
||||
public ResponseSpec testJsonFormDataWithResponseSpec(@jakarta.annotation.Nonnull String param, @jakarta.annotation.Nonnull String param2) throws RestClientResponseException {
|
||||
return testJsonFormDataRequestCreation(param, param2);
|
||||
}
|
||||
|
||||
/**
|
||||
* test nullable parent property
|
||||
*
|
||||
@@ -1891,37 +1904,37 @@ public class FakeApi {
|
||||
public record TestQueryParameterCollectionFormatRequest(@jakarta.annotation.Nonnull List<String> pipe, @jakarta.annotation.Nonnull List<String> ioutil, @jakarta.annotation.Nonnull List<String> http, @jakarta.annotation.Nonnull List<String> url, @jakarta.annotation.Nonnull List<String> context, @jakarta.annotation.Nonnull String allowEmpty, @jakarta.annotation.Nullable Map<String, String> language){}
|
||||
|
||||
/**
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
* <p><b>200</b> - Success
|
||||
* @param requestParameters The testQueryParameterCollectionFormat request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void testQueryParameterCollectionFormat(TestQueryParameterCollectionFormatRequest requestParameters) throws RestClientResponseException {
|
||||
this.testQueryParameterCollectionFormat(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
this.testQueryParameterCollectionFormat(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
/**
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
* <p><b>200</b> - Success
|
||||
* @param requestParameters The testQueryParameterCollectionFormat request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> testQueryParameterCollectionFormatWithHttpInfo(TestQueryParameterCollectionFormatRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testQueryParameterCollectionFormatWithHttpInfo(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
return this.testQueryParameterCollectionFormatWithHttpInfo(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
/**
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
* <p><b>200</b> - Success
|
||||
* @param requestParameters The testQueryParameterCollectionFormat request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testQueryParameterCollectionFormatWithResponseSpec(TestQueryParameterCollectionFormatRequest requestParameters) throws RestClientResponseException {
|
||||
return this.testQueryParameterCollectionFormatWithResponseSpec(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
return this.testQueryParameterCollectionFormatWithResponseSpec(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2043,6 +2056,7 @@ public class FakeApi {
|
||||
public ResponseSpec testQueryParameterCollectionFormatWithResponseSpec(@jakarta.annotation.Nonnull List<String> pipe, @jakarta.annotation.Nonnull List<String> ioutil, @jakarta.annotation.Nonnull List<String> http, @jakarta.annotation.Nonnull List<String> url, @jakarta.annotation.Nonnull List<String> context, @jakarta.annotation.Nonnull String allowEmpty, @jakarta.annotation.Nullable Map<String, String> language) throws RestClientResponseException {
|
||||
return testQueryParameterCollectionFormatRequestCreation(pipe, ioutil, http, url, context, allowEmpty, language);
|
||||
}
|
||||
|
||||
/**
|
||||
* test referenced string map
|
||||
*
|
||||
|
||||
@@ -124,40 +124,40 @@ public class PetApi {
|
||||
public record DeletePetRequest(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey){}
|
||||
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
* Deletes a pet
|
||||
*
|
||||
* <p><b>200</b> - Successful operation
|
||||
* <p><b>400</b> - Invalid pet value
|
||||
* @param requestParameters The deletePet request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void deletePet(DeletePetRequest requestParameters) throws RestClientResponseException {
|
||||
this.deletePet(requestParameters.petId(), requestParameters.apiKey());
|
||||
this.deletePet(requestParameters.petId(), requestParameters.apiKey());
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
* <p><b>200</b> - Successful operation
|
||||
* <p><b>400</b> - Invalid pet value
|
||||
* @param requestParameters The deletePet request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws RestClientResponseException {
|
||||
return this.deletePetWithHttpInfo(requestParameters.petId(), requestParameters.apiKey());
|
||||
return this.deletePetWithHttpInfo(requestParameters.petId(), requestParameters.apiKey());
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
* <p><b>200</b> - Successful operation
|
||||
* <p><b>400</b> - Invalid pet value
|
||||
* @param requestParameters The deletePet request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws RestClientResponseException {
|
||||
return this.deletePetWithResponseSpec(requestParameters.petId(), requestParameters.apiKey());
|
||||
return this.deletePetWithResponseSpec(requestParameters.petId(), requestParameters.apiKey());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -240,6 +240,7 @@ public class PetApi {
|
||||
public ResponseSpec deletePetWithResponseSpec(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws RestClientResponseException {
|
||||
return deletePetRequestCreation(petId, apiKey);
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds Pets by status
|
||||
* Multiple status values can be provided with comma separated strings
|
||||
@@ -318,6 +319,7 @@ public class PetApi {
|
||||
public ResponseSpec findPetsByStatusWithResponseSpec(@jakarta.annotation.Nonnull List<String> status) throws RestClientResponseException {
|
||||
return findPetsByStatusRequestCreation(status);
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds Pets by tags
|
||||
* Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||
@@ -398,6 +400,7 @@ public class PetApi {
|
||||
public ResponseSpec findPetsByTagsWithResponseSpec(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
|
||||
return findPetsByTagsRequestCreation(tags);
|
||||
}
|
||||
|
||||
/**
|
||||
* Find pet by ID
|
||||
* Returns a single pet
|
||||
@@ -480,6 +483,7 @@ public class PetApi {
|
||||
public ResponseSpec getPetByIdWithResponseSpec(@jakarta.annotation.Nonnull Long petId) throws RestClientResponseException {
|
||||
return getPetByIdRequestCreation(petId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update an existing pet
|
||||
*
|
||||
@@ -565,40 +569,40 @@ public class PetApi {
|
||||
public record UpdatePetWithFormRequest(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String name, @jakarta.annotation.Nullable String status){}
|
||||
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
* <p><b>200</b> - Successful operation
|
||||
* <p><b>405</b> - Invalid input
|
||||
* @param requestParameters The updatePetWithForm request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void updatePetWithForm(UpdatePetWithFormRequest requestParameters) throws RestClientResponseException {
|
||||
this.updatePetWithForm(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
this.updatePetWithForm(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
* <p><b>200</b> - Successful operation
|
||||
* <p><b>405</b> - Invalid input
|
||||
* @param requestParameters The updatePetWithForm request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> updatePetWithFormWithHttpInfo(UpdatePetWithFormRequest requestParameters) throws RestClientResponseException {
|
||||
return this.updatePetWithFormWithHttpInfo(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
return this.updatePetWithFormWithHttpInfo(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
* <p><b>200</b> - Successful operation
|
||||
* <p><b>405</b> - Invalid input
|
||||
* @param requestParameters The updatePetWithForm request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec updatePetWithFormWithResponseSpec(UpdatePetWithFormRequest requestParameters) throws RestClientResponseException {
|
||||
return this.updatePetWithFormWithResponseSpec(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
return this.updatePetWithFormWithResponseSpec(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -693,39 +697,39 @@ public class PetApi {
|
||||
public record UploadFileRequest(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String additionalMetadata, @jakarta.annotation.Nullable File _file){}
|
||||
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
* uploads an image
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The uploadFile request parameters as object
|
||||
* @return ModelApiResponse
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ModelApiResponse uploadFile(UploadFileRequest requestParameters) throws RestClientResponseException {
|
||||
return this.uploadFile(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
return this.uploadFile(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The uploadFile request parameters as object
|
||||
* @return ResponseEntity<ModelApiResponse>
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<ModelApiResponse> uploadFileWithHttpInfo(UploadFileRequest requestParameters) throws RestClientResponseException {
|
||||
return this.uploadFileWithHttpInfo(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
return this.uploadFileWithHttpInfo(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The uploadFile request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec uploadFileWithResponseSpec(UploadFileRequest requestParameters) throws RestClientResponseException {
|
||||
return this.uploadFileWithResponseSpec(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
return this.uploadFileWithResponseSpec(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -821,39 +825,39 @@ public class PetApi {
|
||||
public record UploadFileWithRequiredFileRequest(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nonnull File requiredFile, @jakarta.annotation.Nullable String additionalMetadata){}
|
||||
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
* uploads an image (required)
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The uploadFileWithRequiredFile request parameters as object
|
||||
* @return ModelApiResponse
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ModelApiResponse uploadFileWithRequiredFile(UploadFileWithRequiredFileRequest requestParameters) throws RestClientResponseException {
|
||||
return this.uploadFileWithRequiredFile(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
return this.uploadFileWithRequiredFile(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The uploadFileWithRequiredFile request parameters as object
|
||||
* @return ResponseEntity<ModelApiResponse>
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<ModelApiResponse> uploadFileWithRequiredFileWithHttpInfo(UploadFileWithRequiredFileRequest requestParameters) throws RestClientResponseException {
|
||||
return this.uploadFileWithRequiredFileWithHttpInfo(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
return this.uploadFileWithRequiredFileWithHttpInfo(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param requestParameters The uploadFileWithRequiredFile request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec uploadFileWithRequiredFileWithResponseSpec(UploadFileWithRequiredFileRequest requestParameters) throws RestClientResponseException {
|
||||
return this.uploadFileWithRequiredFileWithResponseSpec(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
return this.uploadFileWithRequiredFileWithResponseSpec(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -117,6 +117,7 @@ public class StoreApi {
|
||||
public ResponseSpec deleteOrderWithResponseSpec(@jakarta.annotation.Nonnull String orderId) throws RestClientResponseException {
|
||||
return deleteOrderRequestCreation(orderId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns pet inventories by status
|
||||
* Returns a map of status codes to quantities
|
||||
@@ -181,6 +182,7 @@ public class StoreApi {
|
||||
public ResponseSpec getInventoryWithResponseSpec() throws RestClientResponseException {
|
||||
return getInventoryRequestCreation();
|
||||
}
|
||||
|
||||
/**
|
||||
* Find purchase order by ID
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
|
||||
@@ -263,6 +265,7 @@ public class StoreApi {
|
||||
public ResponseSpec getOrderByIdWithResponseSpec(@jakarta.annotation.Nonnull Long orderId) throws RestClientResponseException {
|
||||
return getOrderByIdRequestCreation(orderId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Place an order for a pet
|
||||
*
|
||||
|
||||
@@ -114,6 +114,7 @@ public class UserApi {
|
||||
public ResponseSpec createUserWithResponseSpec(@jakarta.annotation.Nonnull User user) throws RestClientResponseException {
|
||||
return createUserRequestCreation(user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
@@ -183,6 +184,7 @@ public class UserApi {
|
||||
public ResponseSpec createUsersWithArrayInputWithResponseSpec(@jakarta.annotation.Nonnull List<User> user) throws RestClientResponseException {
|
||||
return createUsersWithArrayInputRequestCreation(user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
@@ -252,6 +254,7 @@ public class UserApi {
|
||||
public ResponseSpec createUsersWithListInputWithResponseSpec(@jakarta.annotation.Nonnull List<User> user) throws RestClientResponseException {
|
||||
return createUsersWithListInputRequestCreation(user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete user
|
||||
* This can only be done by the logged in user.
|
||||
@@ -325,6 +328,7 @@ public class UserApi {
|
||||
public ResponseSpec deleteUserWithResponseSpec(@jakarta.annotation.Nonnull String username) throws RestClientResponseException {
|
||||
return deleteUserRequestCreation(username);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get user by user name
|
||||
*
|
||||
@@ -411,42 +415,42 @@ public class UserApi {
|
||||
public record LoginUserRequest(@jakarta.annotation.Nonnull String username, @jakarta.annotation.Nonnull String password){}
|
||||
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
* Logs user into the system
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* <p><b>400</b> - Invalid username/password supplied
|
||||
* @param requestParameters The loginUser request parameters as object
|
||||
* @return String
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public String loginUser(LoginUserRequest requestParameters) throws RestClientResponseException {
|
||||
return this.loginUser(requestParameters.username(), requestParameters.password());
|
||||
return this.loginUser(requestParameters.username(), requestParameters.password());
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* <p><b>400</b> - Invalid username/password supplied
|
||||
* @param requestParameters The loginUser request parameters as object
|
||||
* @return ResponseEntity<String>
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<String> loginUserWithHttpInfo(LoginUserRequest requestParameters) throws RestClientResponseException {
|
||||
return this.loginUserWithHttpInfo(requestParameters.username(), requestParameters.password());
|
||||
return this.loginUserWithHttpInfo(requestParameters.username(), requestParameters.password());
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
* <p><b>200</b> - successful operation
|
||||
* <p><b>400</b> - Invalid username/password supplied
|
||||
* @param requestParameters The loginUser request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec loginUserWithResponseSpec(LoginUserRequest requestParameters) throws RestClientResponseException {
|
||||
return this.loginUserWithResponseSpec(requestParameters.username(), requestParameters.password());
|
||||
return this.loginUserWithResponseSpec(requestParameters.username(), requestParameters.password());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -536,6 +540,7 @@ public class UserApi {
|
||||
public ResponseSpec loginUserWithResponseSpec(@jakarta.annotation.Nonnull String username, @jakarta.annotation.Nonnull String password) throws RestClientResponseException {
|
||||
return loginUserRequestCreation(username, password);
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs out current logged in user session
|
||||
*
|
||||
@@ -599,40 +604,40 @@ public class UserApi {
|
||||
public record UpdateUserRequest(@jakarta.annotation.Nonnull String username, @jakarta.annotation.Nonnull User user){}
|
||||
|
||||
/**
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
* <p><b>400</b> - Invalid user supplied
|
||||
* <p><b>404</b> - User not found
|
||||
* @param requestParameters The updateUser request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public void updateUser(UpdateUserRequest requestParameters) throws RestClientResponseException {
|
||||
this.updateUser(requestParameters.username(), requestParameters.user());
|
||||
this.updateUser(requestParameters.username(), requestParameters.user());
|
||||
}
|
||||
|
||||
/**
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
/**
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
* <p><b>400</b> - Invalid user supplied
|
||||
* <p><b>404</b> - User not found
|
||||
* @param requestParameters The updateUser request parameters as object
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
*/
|
||||
public ResponseEntity<Void> updateUserWithHttpInfo(UpdateUserRequest requestParameters) throws RestClientResponseException {
|
||||
return this.updateUserWithHttpInfo(requestParameters.username(), requestParameters.user());
|
||||
return this.updateUserWithHttpInfo(requestParameters.username(), requestParameters.user());
|
||||
}
|
||||
|
||||
/**
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
/**
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
* <p><b>400</b> - Invalid user supplied
|
||||
* <p><b>404</b> - User not found
|
||||
* @param requestParameters The updateUser request parameters as object
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
* @return ResponseSpec
|
||||
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec updateUserWithResponseSpec(UpdateUserRequest requestParameters) throws RestClientResponseException {
|
||||
return this.updateUserWithResponseSpec(requestParameters.username(), requestParameters.user());
|
||||
return this.updateUserWithResponseSpec(requestParameters.username(), requestParameters.user());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -122,6 +122,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeBigDecimalMapWithResponseSpec() throws RestClientResponseException {
|
||||
return fakeBigDecimalMapRequestCreation();
|
||||
}
|
||||
|
||||
/**
|
||||
* Health check endpoint
|
||||
*
|
||||
@@ -186,6 +187,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeHealthGetWithResponseSpec() throws RestClientResponseException {
|
||||
return fakeHealthGetRequestCreation();
|
||||
}
|
||||
|
||||
/**
|
||||
* test http signature authentication
|
||||
*
|
||||
@@ -268,6 +270,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeHttpSignatureTestWithResponseSpec(@jakarta.annotation.Nonnull Pet pet, @jakarta.annotation.Nullable String query1, @jakarta.annotation.Nullable String header1) throws RestClientResponseException {
|
||||
return fakeHttpSignatureTestRequestCreation(pet, query1, header1);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of outer boolean types
|
||||
@@ -338,6 +341,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterBooleanSerializeWithResponseSpec(@jakarta.annotation.Nullable Boolean body) throws RestClientResponseException {
|
||||
return fakeOuterBooleanSerializeRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of object with outer number type
|
||||
@@ -408,6 +412,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterCompositeSerializeWithResponseSpec(@jakarta.annotation.Nullable OuterComposite outerComposite) throws RestClientResponseException {
|
||||
return fakeOuterCompositeSerializeRequestCreation(outerComposite);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of outer number types
|
||||
@@ -478,6 +483,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterNumberSerializeWithResponseSpec(@jakarta.annotation.Nullable BigDecimal body) throws RestClientResponseException {
|
||||
return fakeOuterNumberSerializeRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of outer string types
|
||||
@@ -548,6 +554,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakeOuterStringSerializeWithResponseSpec(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
|
||||
return fakeOuterStringSerializeRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Test serialization of enum (int) properties with examples
|
||||
@@ -622,6 +629,7 @@ public class FakeApi {
|
||||
public ResponseSpec fakePropertyEnumIntegerSerializeWithResponseSpec(@jakarta.annotation.Nonnull OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws RestClientResponseException {
|
||||
return fakePropertyEnumIntegerSerializeRequestCreation(outerObjectWithEnumProperty);
|
||||
}
|
||||
|
||||
/**
|
||||
* test referenced additionalProperties
|
||||
*
|
||||
@@ -691,6 +699,7 @@ public class FakeApi {
|
||||
public ResponseSpec testAdditionalPropertiesReferenceWithResponseSpec(@jakarta.annotation.Nonnull Map<String, Object> requestBody) throws RestClientResponseException {
|
||||
return testAdditionalPropertiesReferenceRequestCreation(requestBody);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* For this test, the body has to be a binary file.
|
||||
@@ -760,6 +769,7 @@ public class FakeApi {
|
||||
public ResponseSpec testBodyWithBinaryWithResponseSpec(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
|
||||
return testBodyWithBinaryRequestCreation(body);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* For this test, the body for this request must reference a schema named `File`.
|
||||
@@ -829,6 +839,7 @@ public class FakeApi {
|
||||
public ResponseSpec testBodyWithFileSchemaWithResponseSpec(@jakarta.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass) throws RestClientResponseException {
|
||||
return testBodyWithFileSchemaRequestCreation(fileSchemaTestClass);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
@@ -908,6 +919,7 @@ public class FakeApi {
|
||||
public ResponseSpec testBodyWithQueryParamsWithResponseSpec(@jakarta.annotation.Nonnull String query, @jakarta.annotation.Nonnull User user) throws RestClientResponseException {
|
||||
return testBodyWithQueryParamsRequestCreation(query, user);
|
||||
}
|
||||
|
||||
/**
|
||||
* To test \"client\" model
|
||||
* To test \"client\" model
|
||||
@@ -982,6 +994,7 @@ public class FakeApi {
|
||||
public ResponseSpec testClientModelWithResponseSpec(@jakarta.annotation.Nonnull Client client) throws RestClientResponseException {
|
||||
return testClientModelRequestCreation(client);
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
@@ -1148,6 +1161,7 @@ public class FakeApi {
|
||||
public ResponseSpec testEndpointParametersWithResponseSpec(@jakarta.annotation.Nonnull BigDecimal number, @jakarta.annotation.Nonnull Double _double, @jakarta.annotation.Nonnull String patternWithoutDelimiter, @jakarta.annotation.Nonnull byte[] _byte, @jakarta.annotation.Nullable Integer integer, @jakarta.annotation.Nullable Integer int32, @jakarta.annotation.Nullable Long int64, @jakarta.annotation.Nullable Float _float, @jakarta.annotation.Nullable String string, @jakarta.annotation.Nullable File binary, @jakarta.annotation.Nullable LocalDate date, @jakarta.annotation.Nullable OffsetDateTime dateTime, @jakarta.annotation.Nullable String password, @jakarta.annotation.Nullable String paramCallback) throws RestClientResponseException {
|
||||
return testEndpointParametersRequestCreation(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
|
||||
}
|
||||
|
||||
/**
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
@@ -1265,6 +1279,7 @@ public class FakeApi {
|
||||
public ResponseSpec testEnumParametersWithResponseSpec(@jakarta.annotation.Nullable List<String> enumHeaderStringArray, @jakarta.annotation.Nullable String enumHeaderString, @jakarta.annotation.Nullable List<String> enumQueryStringArray, @jakarta.annotation.Nullable String enumQueryString, @jakarta.annotation.Nullable Integer enumQueryInteger, @jakarta.annotation.Nullable Double enumQueryDouble, @jakarta.annotation.Nullable List<EnumClass> enumQueryModelArray, @jakarta.annotation.Nullable List<String> enumFormStringArray, @jakarta.annotation.Nullable String enumFormString) throws RestClientResponseException {
|
||||
return testEnumParametersRequestCreation(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
@@ -1370,6 +1385,7 @@ public class FakeApi {
|
||||
public ResponseSpec testGroupParametersWithResponseSpec(@jakarta.annotation.Nonnull Integer requiredStringGroup, @jakarta.annotation.Nonnull Boolean requiredBooleanGroup, @jakarta.annotation.Nonnull Long requiredInt64Group, @jakarta.annotation.Nullable Integer stringGroup, @jakarta.annotation.Nullable Boolean booleanGroup, @jakarta.annotation.Nullable Long int64Group) throws RestClientResponseException {
|
||||
return testGroupParametersRequestCreation(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
|
||||
}
|
||||
|
||||
/**
|
||||
* test inline additionalProperties
|
||||
*
|
||||
@@ -1439,6 +1455,7 @@ public class FakeApi {
|
||||
public ResponseSpec testInlineAdditionalPropertiesWithResponseSpec(@jakarta.annotation.Nonnull Map<String, String> requestBody) throws RestClientResponseException {
|
||||
return testInlineAdditionalPropertiesRequestCreation(requestBody);
|
||||
}
|
||||
|
||||
/**
|
||||
* test inline free-form additionalProperties
|
||||
*
|
||||
@@ -1508,6 +1525,7 @@ public class FakeApi {
|
||||
public ResponseSpec testInlineFreeformAdditionalPropertiesWithResponseSpec(@jakarta.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws RestClientResponseException {
|
||||
return testInlineFreeformAdditionalPropertiesRequestCreation(testInlineFreeformAdditionalPropertiesRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
@@ -1590,6 +1608,7 @@ public class FakeApi {
|
||||
public ResponseSpec testJsonFormDataWithResponseSpec(@jakarta.annotation.Nonnull String param, @jakarta.annotation.Nonnull String param2) throws RestClientResponseException {
|
||||
return testJsonFormDataRequestCreation(param, param2);
|
||||
}
|
||||
|
||||
/**
|
||||
* test nullable parent property
|
||||
*
|
||||
@@ -1659,6 +1678,7 @@ public class FakeApi {
|
||||
public ResponseSpec testNullableWithResponseSpec(@jakarta.annotation.Nonnull ChildWithNullable childWithNullable) throws RestClientResponseException {
|
||||
return testNullableRequestCreation(childWithNullable);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
@@ -1778,6 +1798,7 @@ public class FakeApi {
|
||||
public ResponseSpec testQueryParameterCollectionFormatWithResponseSpec(@jakarta.annotation.Nonnull List<String> pipe, @jakarta.annotation.Nonnull List<String> ioutil, @jakarta.annotation.Nonnull List<String> http, @jakarta.annotation.Nonnull List<String> url, @jakarta.annotation.Nonnull List<String> context, @jakarta.annotation.Nonnull String allowEmpty, @jakarta.annotation.Nullable Map<String, String> language) throws RestClientResponseException {
|
||||
return testQueryParameterCollectionFormatRequestCreation(pipe, ioutil, http, url, context, allowEmpty, language);
|
||||
}
|
||||
|
||||
/**
|
||||
* test referenced string map
|
||||
*
|
||||
|
||||
@@ -120,6 +120,7 @@ public class PetApi {
|
||||
public ResponseSpec addPetWithResponseSpec(@jakarta.annotation.Nonnull Pet pet) throws RestClientResponseException {
|
||||
return addPetRequestCreation(pet);
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
@@ -200,6 +201,7 @@ public class PetApi {
|
||||
public ResponseSpec deletePetWithResponseSpec(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws RestClientResponseException {
|
||||
return deletePetRequestCreation(petId, apiKey);
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds Pets by status
|
||||
* Multiple status values can be provided with comma separated strings
|
||||
@@ -278,6 +280,7 @@ public class PetApi {
|
||||
public ResponseSpec findPetsByStatusWithResponseSpec(@jakarta.annotation.Nonnull List<String> status) throws RestClientResponseException {
|
||||
return findPetsByStatusRequestCreation(status);
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds Pets by tags
|
||||
* Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||
@@ -358,6 +361,7 @@ public class PetApi {
|
||||
public ResponseSpec findPetsByTagsWithResponseSpec(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
|
||||
return findPetsByTagsRequestCreation(tags);
|
||||
}
|
||||
|
||||
/**
|
||||
* Find pet by ID
|
||||
* Returns a single pet
|
||||
@@ -440,6 +444,7 @@ public class PetApi {
|
||||
public ResponseSpec getPetByIdWithResponseSpec(@jakarta.annotation.Nonnull Long petId) throws RestClientResponseException {
|
||||
return getPetByIdRequestCreation(petId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update an existing pet
|
||||
*
|
||||
@@ -521,6 +526,7 @@ public class PetApi {
|
||||
public ResponseSpec updatePetWithResponseSpec(@jakarta.annotation.Nonnull Pet pet) throws RestClientResponseException {
|
||||
return updatePetRequestCreation(pet);
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
@@ -609,6 +615,7 @@ public class PetApi {
|
||||
public ResponseSpec updatePetWithFormWithResponseSpec(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String name, @jakarta.annotation.Nullable String status) throws RestClientResponseException {
|
||||
return updatePetWithFormRequestCreation(petId, name, status);
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
@@ -698,6 +705,7 @@ public class PetApi {
|
||||
public ResponseSpec uploadFileWithResponseSpec(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String additionalMetadata, @jakarta.annotation.Nullable File _file) throws RestClientResponseException {
|
||||
return uploadFileRequestCreation(petId, additionalMetadata, _file);
|
||||
}
|
||||
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
|
||||
@@ -117,6 +117,7 @@ public class StoreApi {
|
||||
public ResponseSpec deleteOrderWithResponseSpec(@jakarta.annotation.Nonnull String orderId) throws RestClientResponseException {
|
||||
return deleteOrderRequestCreation(orderId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns pet inventories by status
|
||||
* Returns a map of status codes to quantities
|
||||
@@ -181,6 +182,7 @@ public class StoreApi {
|
||||
public ResponseSpec getInventoryWithResponseSpec() throws RestClientResponseException {
|
||||
return getInventoryRequestCreation();
|
||||
}
|
||||
|
||||
/**
|
||||
* Find purchase order by ID
|
||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
|
||||
@@ -263,6 +265,7 @@ public class StoreApi {
|
||||
public ResponseSpec getOrderByIdWithResponseSpec(@jakarta.annotation.Nonnull Long orderId) throws RestClientResponseException {
|
||||
return getOrderByIdRequestCreation(orderId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Place an order for a pet
|
||||
*
|
||||
|
||||
@@ -114,6 +114,7 @@ public class UserApi {
|
||||
public ResponseSpec createUserWithResponseSpec(@jakarta.annotation.Nonnull User user) throws RestClientResponseException {
|
||||
return createUserRequestCreation(user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
@@ -183,6 +184,7 @@ public class UserApi {
|
||||
public ResponseSpec createUsersWithArrayInputWithResponseSpec(@jakarta.annotation.Nonnull List<User> user) throws RestClientResponseException {
|
||||
return createUsersWithArrayInputRequestCreation(user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
@@ -252,6 +254,7 @@ public class UserApi {
|
||||
public ResponseSpec createUsersWithListInputWithResponseSpec(@jakarta.annotation.Nonnull List<User> user) throws RestClientResponseException {
|
||||
return createUsersWithListInputRequestCreation(user);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete user
|
||||
* This can only be done by the logged in user.
|
||||
@@ -325,6 +328,7 @@ public class UserApi {
|
||||
public ResponseSpec deleteUserWithResponseSpec(@jakarta.annotation.Nonnull String username) throws RestClientResponseException {
|
||||
return deleteUserRequestCreation(username);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get user by user name
|
||||
*
|
||||
@@ -407,6 +411,7 @@ public class UserApi {
|
||||
public ResponseSpec getUserByNameWithResponseSpec(@jakarta.annotation.Nonnull String username) throws RestClientResponseException {
|
||||
return getUserByNameRequestCreation(username);
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
@@ -494,6 +499,7 @@ public class UserApi {
|
||||
public ResponseSpec loginUserWithResponseSpec(@jakarta.annotation.Nonnull String username, @jakarta.annotation.Nonnull String password) throws RestClientResponseException {
|
||||
return loginUserRequestCreation(username, password);
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs out current logged in user session
|
||||
*
|
||||
@@ -553,6 +559,7 @@ public class UserApi {
|
||||
public ResponseSpec logoutUserWithResponseSpec() throws RestClientResponseException {
|
||||
return logoutUserRequestCreation();
|
||||
}
|
||||
|
||||
/**
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
|
||||
@@ -46,7 +46,6 @@ public class AnotherFakeApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
|
||||
@@ -46,7 +46,6 @@ public class DefaultApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
|
||||
@@ -60,7 +60,6 @@ public class FakeApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys
|
||||
|
||||
@@ -46,7 +46,6 @@ public class FakeClassnameTags123Api {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* To test class name in snake case
|
||||
* To test class name in snake case
|
||||
|
||||
@@ -49,7 +49,6 @@ public class PetApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add a new pet to the store
|
||||
*
|
||||
|
||||
@@ -46,7 +46,6 @@ public class StoreApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Delete purchase order by ID
|
||||
* For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
|
||||
@@ -47,7 +47,6 @@ public class UserApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create user
|
||||
* This can only be done by the logged in user.
|
||||
|
||||
@@ -46,7 +46,6 @@ public class DefaultApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
|
||||
@@ -46,7 +46,6 @@ public class AnotherFakeApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
|
||||
@@ -46,7 +46,6 @@ public class DefaultApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
|
||||
@@ -60,7 +60,6 @@ public class FakeApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys
|
||||
|
||||
@@ -46,7 +46,6 @@ public class FakeClassnameTags123Api {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* To test class name in snake case
|
||||
* To test class name in snake case
|
||||
|
||||
@@ -49,7 +49,6 @@ public class PetApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add a new pet to the store
|
||||
*
|
||||
|
||||
@@ -46,7 +46,6 @@ public class StoreApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Delete purchase order by ID
|
||||
* For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
|
||||
@@ -47,7 +47,6 @@ public class UserApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create user
|
||||
* This can only be done by the logged in user.
|
||||
|
||||
@@ -46,7 +46,6 @@ public class AnotherFakeApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
|
||||
@@ -46,7 +46,6 @@ public class DefaultApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
|
||||
@@ -60,7 +60,6 @@ public class FakeApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys
|
||||
@@ -279,10 +278,10 @@ public class FakeApi {
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec fakeHttpSignatureTestWithResponseSpec(FakeHttpSignatureTestRequest requestParameters) throws WebClientResponseException {
|
||||
return this.fakeHttpSignatureTestWithResponseSpec(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
return this.fakeHttpSignatureTestWithResponseSpec(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* test http signature authentication
|
||||
*
|
||||
@@ -1012,10 +1011,10 @@ public class FakeApi {
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testBodyWithQueryParamsWithResponseSpec(TestBodyWithQueryParamsRequest requestParameters) throws WebClientResponseException {
|
||||
return this.testBodyWithQueryParamsWithResponseSpec(requestParameters.query(), requestParameters.user());
|
||||
return this.testBodyWithQueryParamsWithResponseSpec(requestParameters.query(), requestParameters.user());
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
@@ -1383,10 +1382,10 @@ public class FakeApi {
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testEndpointParametersWithResponseSpec(TestEndpointParametersRequest requestParameters) throws WebClientResponseException {
|
||||
return this.testEndpointParametersWithResponseSpec(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
return this.testEndpointParametersWithResponseSpec(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
@@ -1711,10 +1710,10 @@ public class FakeApi {
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testEnumParametersWithResponseSpec(TestEnumParametersRequest requestParameters) throws WebClientResponseException {
|
||||
return this.testEnumParametersWithResponseSpec(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
return this.testEnumParametersWithResponseSpec(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* To test enum parameters
|
||||
* To test enum parameters
|
||||
@@ -1954,10 +1953,10 @@ public class FakeApi {
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testGroupParametersWithResponseSpec(TestGroupParametersRequest requestParameters) throws WebClientResponseException {
|
||||
return this.testGroupParametersWithResponseSpec(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
return this.testGroupParametersWithResponseSpec(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
@@ -2281,10 +2280,10 @@ public class FakeApi {
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testJsonFormDataWithResponseSpec(TestJsonFormDataRequest requestParameters) throws WebClientResponseException {
|
||||
return this.testJsonFormDataWithResponseSpec(requestParameters.param(), requestParameters.param2());
|
||||
return this.testJsonFormDataWithResponseSpec(requestParameters.param(), requestParameters.param2());
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* test json serialization of form data
|
||||
*
|
||||
@@ -2570,10 +2569,10 @@ public class FakeApi {
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec testQueryParameterCollectionFormatWithResponseSpec(TestQueryParameterCollectionFormatRequest requestParameters) throws WebClientResponseException {
|
||||
return this.testQueryParameterCollectionFormatWithResponseSpec(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
return this.testQueryParameterCollectionFormatWithResponseSpec(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* To test the collection format in query parameters
|
||||
|
||||
@@ -46,7 +46,6 @@ public class FakeClassnameTags123Api {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* To test class name in snake case
|
||||
* To test class name in snake case
|
||||
|
||||
@@ -49,7 +49,6 @@ public class PetApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add a new pet to the store
|
||||
*
|
||||
@@ -204,10 +203,10 @@ public class PetApi {
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws WebClientResponseException {
|
||||
return this.deletePetWithResponseSpec(requestParameters.petId(), requestParameters.apiKey());
|
||||
return this.deletePetWithResponseSpec(requestParameters.petId(), requestParameters.apiKey());
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Deletes a pet
|
||||
*
|
||||
@@ -705,10 +704,10 @@ public class PetApi {
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec updatePetWithFormWithResponseSpec(UpdatePetWithFormRequest requestParameters) throws WebClientResponseException {
|
||||
return this.updatePetWithFormWithResponseSpec(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
return this.updatePetWithFormWithResponseSpec(requestParameters.petId(), requestParameters.name(), requestParameters.status());
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Updates a pet in the store with form data
|
||||
*
|
||||
@@ -888,10 +887,10 @@ public class PetApi {
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec uploadFileWithResponseSpec(UploadFileRequest requestParameters) throws WebClientResponseException {
|
||||
return this.uploadFileWithResponseSpec(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
return this.uploadFileWithResponseSpec(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* uploads an image
|
||||
*
|
||||
@@ -1072,10 +1071,10 @@ public class PetApi {
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec uploadFileWithRequiredFileWithResponseSpec(UploadFileWithRequiredFileRequest requestParameters) throws WebClientResponseException {
|
||||
return this.uploadFileWithRequiredFileWithResponseSpec(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
return this.uploadFileWithRequiredFileWithResponseSpec(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* uploads an image (required)
|
||||
*
|
||||
|
||||
@@ -46,7 +46,6 @@ public class StoreApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Delete purchase order by ID
|
||||
* For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
|
||||
@@ -47,7 +47,6 @@ public class UserApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create user
|
||||
* This can only be done by the logged in user.
|
||||
@@ -497,10 +496,10 @@ public class UserApi {
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec loginUserWithResponseSpec(LoginUserRequest requestParameters) throws WebClientResponseException {
|
||||
return this.loginUserWithResponseSpec(requestParameters.username(), requestParameters.password());
|
||||
return this.loginUserWithResponseSpec(requestParameters.username(), requestParameters.password());
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Logs user into the system
|
||||
*
|
||||
@@ -729,10 +728,10 @@ public class UserApi {
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec updateUserWithResponseSpec(UpdateUserRequest requestParameters) throws WebClientResponseException {
|
||||
return this.updateUserWithResponseSpec(requestParameters.username(), requestParameters.user());
|
||||
return this.updateUserWithResponseSpec(requestParameters.username(), requestParameters.user());
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Updated user
|
||||
* This can only be done by the logged in user.
|
||||
|
||||
@@ -46,7 +46,6 @@ public class AnotherFakeApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
|
||||
@@ -46,7 +46,6 @@ public class DefaultApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
|
||||
@@ -60,7 +60,6 @@ public class FakeApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys
|
||||
|
||||
@@ -46,7 +46,6 @@ public class FakeClassnameTags123Api {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* To test class name in snake case
|
||||
* To test class name in snake case
|
||||
|
||||
@@ -49,7 +49,6 @@ public class PetApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add a new pet to the store
|
||||
*
|
||||
|
||||
@@ -46,7 +46,6 @@ public class StoreApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Delete purchase order by ID
|
||||
* For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
|
||||
@@ -47,7 +47,6 @@ public class UserApi {
|
||||
this.apiClient = apiClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create user
|
||||
* This can only be done by the logged in user.
|
||||
|
||||
Reference in New Issue
Block a user