forked from loafle/openapi-generator-original
[Spring] Fix reactive + delegatePattern option (#978)
This commit is contained in:
committed by
GitHub
parent
47b3210cb2
commit
825404a1df
@@ -18,6 +18,6 @@ public interface AnotherFakeApiDelegate {
|
||||
/**
|
||||
* @see AnotherFakeApi#call123testSpecialTags
|
||||
*/
|
||||
ResponseEntity<Client> call123testSpecialTags( Client client);
|
||||
ResponseEntity<Client> call123testSpecialTags(Client client);
|
||||
|
||||
}
|
||||
|
||||
@@ -27,85 +27,85 @@ public interface FakeApiDelegate {
|
||||
/**
|
||||
* @see FakeApi#fakeOuterBooleanSerialize
|
||||
*/
|
||||
ResponseEntity<Boolean> fakeOuterBooleanSerialize( Boolean body);
|
||||
ResponseEntity<Boolean> fakeOuterBooleanSerialize(Boolean body);
|
||||
|
||||
/**
|
||||
* @see FakeApi#fakeOuterCompositeSerialize
|
||||
*/
|
||||
ResponseEntity<OuterComposite> fakeOuterCompositeSerialize( OuterComposite outerComposite);
|
||||
ResponseEntity<OuterComposite> fakeOuterCompositeSerialize(OuterComposite outerComposite);
|
||||
|
||||
/**
|
||||
* @see FakeApi#fakeOuterNumberSerialize
|
||||
*/
|
||||
ResponseEntity<BigDecimal> fakeOuterNumberSerialize( BigDecimal body);
|
||||
ResponseEntity<BigDecimal> fakeOuterNumberSerialize(BigDecimal body);
|
||||
|
||||
/**
|
||||
* @see FakeApi#fakeOuterStringSerialize
|
||||
*/
|
||||
ResponseEntity<String> fakeOuterStringSerialize( String body);
|
||||
ResponseEntity<String> fakeOuterStringSerialize(String body);
|
||||
|
||||
/**
|
||||
* @see FakeApi#testBodyWithFileSchema
|
||||
*/
|
||||
ResponseEntity<Void> testBodyWithFileSchema( FileSchemaTestClass fileSchemaTestClass);
|
||||
ResponseEntity<Void> testBodyWithFileSchema(FileSchemaTestClass fileSchemaTestClass);
|
||||
|
||||
/**
|
||||
* @see FakeApi#testBodyWithQueryParams
|
||||
*/
|
||||
ResponseEntity<Void> testBodyWithQueryParams( String query,
|
||||
User user);
|
||||
ResponseEntity<Void> testBodyWithQueryParams(String query,
|
||||
User user);
|
||||
|
||||
/**
|
||||
* @see FakeApi#testClientModel
|
||||
*/
|
||||
ResponseEntity<Client> testClientModel( Client client);
|
||||
ResponseEntity<Client> testClientModel(Client client);
|
||||
|
||||
/**
|
||||
* @see FakeApi#testEndpointParameters
|
||||
*/
|
||||
ResponseEntity<Void> testEndpointParameters( BigDecimal number,
|
||||
Double _double,
|
||||
String patternWithoutDelimiter,
|
||||
byte[] _byte,
|
||||
Integer integer,
|
||||
Integer int32,
|
||||
Long int64,
|
||||
Float _float,
|
||||
String string,
|
||||
ResponseEntity<Void> testEndpointParameters(BigDecimal number,
|
||||
Double _double,
|
||||
String patternWithoutDelimiter,
|
||||
byte[] _byte,
|
||||
Integer integer,
|
||||
Integer int32,
|
||||
Long int64,
|
||||
Float _float,
|
||||
String string,
|
||||
MultipartFile binary,
|
||||
LocalDate date,
|
||||
OffsetDateTime dateTime,
|
||||
String password,
|
||||
String paramCallback);
|
||||
LocalDate date,
|
||||
OffsetDateTime dateTime,
|
||||
String password,
|
||||
String paramCallback);
|
||||
|
||||
/**
|
||||
* @see FakeApi#testEnumParameters
|
||||
*/
|
||||
ResponseEntity<Void> testEnumParameters( List<String> enumHeaderStringArray,
|
||||
String enumHeaderString,
|
||||
List<String> enumQueryStringArray,
|
||||
String enumQueryString,
|
||||
Integer enumQueryInteger,
|
||||
Double enumQueryDouble,
|
||||
List<String> enumFormStringArray,
|
||||
String enumFormString);
|
||||
ResponseEntity<Void> testEnumParameters(List<String> enumHeaderStringArray,
|
||||
String enumHeaderString,
|
||||
List<String> enumQueryStringArray,
|
||||
String enumQueryString,
|
||||
Integer enumQueryInteger,
|
||||
Double enumQueryDouble,
|
||||
List<String> enumFormStringArray,
|
||||
String enumFormString);
|
||||
|
||||
/**
|
||||
* @see FakeApi#testInlineAdditionalProperties
|
||||
*/
|
||||
ResponseEntity<Void> testInlineAdditionalProperties( Map<String, String> requestBody);
|
||||
ResponseEntity<Void> testInlineAdditionalProperties(Map<String, String> requestBody);
|
||||
|
||||
/**
|
||||
* @see FakeApi#testJsonFormData
|
||||
*/
|
||||
ResponseEntity<Void> testJsonFormData( String param,
|
||||
String param2);
|
||||
ResponseEntity<Void> testJsonFormData(String param,
|
||||
String param2);
|
||||
|
||||
/**
|
||||
* @see FakeApi#uploadFileWithRequiredFile
|
||||
*/
|
||||
ResponseEntity<ModelApiResponse> uploadFileWithRequiredFile( Long petId,
|
||||
ResponseEntity<ModelApiResponse> uploadFileWithRequiredFile(Long petId,
|
||||
MultipartFile requiredFile,
|
||||
String additionalMetadata);
|
||||
String additionalMetadata);
|
||||
|
||||
}
|
||||
|
||||
@@ -18,6 +18,6 @@ public interface FakeClassnameTestApiDelegate {
|
||||
/**
|
||||
* @see FakeClassnameTestApi#testClassname
|
||||
*/
|
||||
ResponseEntity<Client> testClassname( Client client);
|
||||
ResponseEntity<Client> testClassname(Client client);
|
||||
|
||||
}
|
||||
|
||||
@@ -20,46 +20,46 @@ public interface PetApiDelegate {
|
||||
/**
|
||||
* @see PetApi#addPet
|
||||
*/
|
||||
ResponseEntity<Void> addPet( Pet pet);
|
||||
ResponseEntity<Void> addPet(Pet pet);
|
||||
|
||||
/**
|
||||
* @see PetApi#deletePet
|
||||
*/
|
||||
ResponseEntity<Void> deletePet( Long petId,
|
||||
String apiKey);
|
||||
ResponseEntity<Void> deletePet(Long petId,
|
||||
String apiKey);
|
||||
|
||||
/**
|
||||
* @see PetApi#findPetsByStatus
|
||||
*/
|
||||
ResponseEntity<List<Pet>> findPetsByStatus( List<String> status);
|
||||
ResponseEntity<List<Pet>> findPetsByStatus(List<String> status);
|
||||
|
||||
/**
|
||||
* @see PetApi#findPetsByTags
|
||||
*/
|
||||
ResponseEntity<List<Pet>> findPetsByTags( List<String> tags);
|
||||
ResponseEntity<List<Pet>> findPetsByTags(List<String> tags);
|
||||
|
||||
/**
|
||||
* @see PetApi#getPetById
|
||||
*/
|
||||
ResponseEntity<Pet> getPetById( Long petId);
|
||||
ResponseEntity<Pet> getPetById(Long petId);
|
||||
|
||||
/**
|
||||
* @see PetApi#updatePet
|
||||
*/
|
||||
ResponseEntity<Void> updatePet( Pet pet);
|
||||
ResponseEntity<Void> updatePet(Pet pet);
|
||||
|
||||
/**
|
||||
* @see PetApi#updatePetWithForm
|
||||
*/
|
||||
ResponseEntity<Void> updatePetWithForm( Long petId,
|
||||
String name,
|
||||
String status);
|
||||
ResponseEntity<Void> updatePetWithForm(Long petId,
|
||||
String name,
|
||||
String status);
|
||||
|
||||
/**
|
||||
* @see PetApi#uploadFile
|
||||
*/
|
||||
ResponseEntity<ModelApiResponse> uploadFile( Long petId,
|
||||
String additionalMetadata,
|
||||
ResponseEntity<ModelApiResponse> uploadFile(Long petId,
|
||||
String additionalMetadata,
|
||||
MultipartFile file);
|
||||
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ public interface StoreApiDelegate {
|
||||
/**
|
||||
* @see StoreApi#deleteOrder
|
||||
*/
|
||||
ResponseEntity<Void> deleteOrder( String orderId);
|
||||
ResponseEntity<Void> deleteOrder(String orderId);
|
||||
|
||||
/**
|
||||
* @see StoreApi#getInventory
|
||||
@@ -29,11 +29,11 @@ public interface StoreApiDelegate {
|
||||
/**
|
||||
* @see StoreApi#getOrderById
|
||||
*/
|
||||
ResponseEntity<Order> getOrderById( Long orderId);
|
||||
ResponseEntity<Order> getOrderById(Long orderId);
|
||||
|
||||
/**
|
||||
* @see StoreApi#placeOrder
|
||||
*/
|
||||
ResponseEntity<Order> placeOrder( Order order);
|
||||
ResponseEntity<Order> placeOrder(Order order);
|
||||
|
||||
}
|
||||
|
||||
@@ -19,33 +19,33 @@ public interface UserApiDelegate {
|
||||
/**
|
||||
* @see UserApi#createUser
|
||||
*/
|
||||
ResponseEntity<Void> createUser( User user);
|
||||
ResponseEntity<Void> createUser(User user);
|
||||
|
||||
/**
|
||||
* @see UserApi#createUsersWithArrayInput
|
||||
*/
|
||||
ResponseEntity<Void> createUsersWithArrayInput( List<User> user);
|
||||
ResponseEntity<Void> createUsersWithArrayInput(List<User> user);
|
||||
|
||||
/**
|
||||
* @see UserApi#createUsersWithListInput
|
||||
*/
|
||||
ResponseEntity<Void> createUsersWithListInput( List<User> user);
|
||||
ResponseEntity<Void> createUsersWithListInput(List<User> user);
|
||||
|
||||
/**
|
||||
* @see UserApi#deleteUser
|
||||
*/
|
||||
ResponseEntity<Void> deleteUser( String username);
|
||||
ResponseEntity<Void> deleteUser(String username);
|
||||
|
||||
/**
|
||||
* @see UserApi#getUserByName
|
||||
*/
|
||||
ResponseEntity<User> getUserByName( String username);
|
||||
ResponseEntity<User> getUserByName(String username);
|
||||
|
||||
/**
|
||||
* @see UserApi#loginUser
|
||||
*/
|
||||
ResponseEntity<String> loginUser( String username,
|
||||
String password);
|
||||
ResponseEntity<String> loginUser(String username,
|
||||
String password);
|
||||
|
||||
/**
|
||||
* @see UserApi#logoutUser
|
||||
@@ -55,7 +55,7 @@ public interface UserApiDelegate {
|
||||
/**
|
||||
* @see UserApi#updateUser
|
||||
*/
|
||||
ResponseEntity<Void> updateUser( String username,
|
||||
User user);
|
||||
ResponseEntity<Void> updateUser(String username,
|
||||
User user);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user