forked from loafle/openapi-generator-original
[PHP-SYMFONY] Support BackedEnum for enum ref (16846) (#16847)
* [PHP-SYMFONY] Support BackedEnum for enumm ref (16846) * [PHP-SYMFONY] Support BackedEnum for enumm ref (16846) * [PHP-SYMFONY] Support BackedEnum for enumm ref (16846) * [PHP-SYMFONY] Support BackedEnum for enumm ref (16846) * [PHP-SYMFONY] Support BackedEnum for enum ref (16846) * [PHP-SYMFONY] Support BackedEnum for enum ref (16846) * [PHP-SYMFONY] Support BackedEnum for enum ref (16846)
This commit is contained in:
@@ -73,8 +73,11 @@ interface PetApiInterface
|
||||
*
|
||||
* @return array|object|null
|
||||
*/
|
||||
public function addPet(Pet $pet, int &$responseCode, array &$responseHeaders): array|object|null;
|
||||
|
||||
public function addPet(
|
||||
Pet $pet,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): array|object|null;
|
||||
|
||||
/**
|
||||
* Operation deletePet
|
||||
@@ -88,8 +91,12 @@ interface PetApiInterface
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function deletePet(int $petId, ?string $apiKey, int &$responseCode, array &$responseHeaders): void;
|
||||
|
||||
public function deletePet(
|
||||
int $petId,
|
||||
?string $apiKey,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): void;
|
||||
|
||||
/**
|
||||
* Operation findPetsByStatus
|
||||
@@ -102,8 +109,11 @@ interface PetApiInterface
|
||||
*
|
||||
* @return array|object|null
|
||||
*/
|
||||
public function findPetsByStatus(array $status, int &$responseCode, array &$responseHeaders): array|object|null;
|
||||
|
||||
public function findPetsByStatus(
|
||||
array $status,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): array|object|null;
|
||||
|
||||
/**
|
||||
* Operation findPetsByTags
|
||||
@@ -117,8 +127,11 @@ interface PetApiInterface
|
||||
* @return array|object|null
|
||||
* @deprecated
|
||||
*/
|
||||
public function findPetsByTags(array $tags, int &$responseCode, array &$responseHeaders): array|object|null;
|
||||
|
||||
public function findPetsByTags(
|
||||
array $tags,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): array|object|null;
|
||||
|
||||
/**
|
||||
* Operation getPetById
|
||||
@@ -131,8 +144,11 @@ interface PetApiInterface
|
||||
*
|
||||
* @return array|object|null
|
||||
*/
|
||||
public function getPetById(int $petId, int &$responseCode, array &$responseHeaders): array|object|null;
|
||||
|
||||
public function getPetById(
|
||||
int $petId,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): array|object|null;
|
||||
|
||||
/**
|
||||
* Operation updatePet
|
||||
@@ -145,8 +161,11 @@ interface PetApiInterface
|
||||
*
|
||||
* @return array|object|null
|
||||
*/
|
||||
public function updatePet(Pet $pet, int &$responseCode, array &$responseHeaders): array|object|null;
|
||||
|
||||
public function updatePet(
|
||||
Pet $pet,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): array|object|null;
|
||||
|
||||
/**
|
||||
* Operation updatePetWithForm
|
||||
@@ -161,8 +180,13 @@ interface PetApiInterface
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function updatePetWithForm(int $petId, ?string $name, ?string $status, int &$responseCode, array &$responseHeaders): void;
|
||||
|
||||
public function updatePetWithForm(
|
||||
int $petId,
|
||||
?string $name,
|
||||
?string $status,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): void;
|
||||
|
||||
/**
|
||||
* Operation uploadFile
|
||||
@@ -177,6 +201,11 @@ interface PetApiInterface
|
||||
*
|
||||
* @return array|object|null
|
||||
*/
|
||||
public function uploadFile(int $petId, ?string $additionalMetadata, ?UploadedFile $file, int &$responseCode, array &$responseHeaders): array|object|null;
|
||||
|
||||
public function uploadFile(
|
||||
int $petId,
|
||||
?string $additionalMetadata,
|
||||
?UploadedFile $file,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): array|object|null;
|
||||
}
|
||||
|
||||
@@ -63,8 +63,11 @@ interface StoreApiInterface
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function deleteOrder(string $orderId, int &$responseCode, array &$responseHeaders): void;
|
||||
|
||||
public function deleteOrder(
|
||||
string $orderId,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): void;
|
||||
|
||||
/**
|
||||
* Operation getInventory
|
||||
@@ -76,8 +79,10 @@ interface StoreApiInterface
|
||||
*
|
||||
* @return array|object|null
|
||||
*/
|
||||
public function getInventory(int &$responseCode, array &$responseHeaders): array|object|null;
|
||||
|
||||
public function getInventory(
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): array|object|null;
|
||||
|
||||
/**
|
||||
* Operation getOrderById
|
||||
@@ -90,8 +95,11 @@ interface StoreApiInterface
|
||||
*
|
||||
* @return array|object|null
|
||||
*/
|
||||
public function getOrderById(int $orderId, int &$responseCode, array &$responseHeaders): array|object|null;
|
||||
|
||||
public function getOrderById(
|
||||
int $orderId,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): array|object|null;
|
||||
|
||||
/**
|
||||
* Operation placeOrder
|
||||
@@ -104,6 +112,9 @@ interface StoreApiInterface
|
||||
*
|
||||
* @return array|object|null
|
||||
*/
|
||||
public function placeOrder(Order $order, int &$responseCode, array &$responseHeaders): array|object|null;
|
||||
|
||||
public function placeOrder(
|
||||
Order $order,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): array|object|null;
|
||||
}
|
||||
|
||||
@@ -63,8 +63,11 @@ interface UserApiInterface
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function createUser(User $user, int &$responseCode, array &$responseHeaders): void;
|
||||
|
||||
public function createUser(
|
||||
User $user,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): void;
|
||||
|
||||
/**
|
||||
* Operation createUsersWithArrayInput
|
||||
@@ -77,8 +80,11 @@ interface UserApiInterface
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function createUsersWithArrayInput(array $user, int &$responseCode, array &$responseHeaders): void;
|
||||
|
||||
public function createUsersWithArrayInput(
|
||||
array $user,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): void;
|
||||
|
||||
/**
|
||||
* Operation createUsersWithListInput
|
||||
@@ -91,8 +97,11 @@ interface UserApiInterface
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function createUsersWithListInput(array $user, int &$responseCode, array &$responseHeaders): void;
|
||||
|
||||
public function createUsersWithListInput(
|
||||
array $user,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): void;
|
||||
|
||||
/**
|
||||
* Operation deleteUser
|
||||
@@ -105,8 +114,11 @@ interface UserApiInterface
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function deleteUser(string $username, int &$responseCode, array &$responseHeaders): void;
|
||||
|
||||
public function deleteUser(
|
||||
string $username,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): void;
|
||||
|
||||
/**
|
||||
* Operation getUserByName
|
||||
@@ -119,8 +131,11 @@ interface UserApiInterface
|
||||
*
|
||||
* @return array|object|null
|
||||
*/
|
||||
public function getUserByName(string $username, int &$responseCode, array &$responseHeaders): array|object|null;
|
||||
|
||||
public function getUserByName(
|
||||
string $username,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): array|object|null;
|
||||
|
||||
/**
|
||||
* Operation loginUser
|
||||
@@ -134,8 +149,12 @@ interface UserApiInterface
|
||||
*
|
||||
* @return array|object|null
|
||||
*/
|
||||
public function loginUser(string $username, string $password, int &$responseCode, array &$responseHeaders): array|object|null;
|
||||
|
||||
public function loginUser(
|
||||
string $username,
|
||||
string $password,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): array|object|null;
|
||||
|
||||
/**
|
||||
* Operation logoutUser
|
||||
@@ -147,8 +166,10 @@ interface UserApiInterface
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function logoutUser(int &$responseCode, array &$responseHeaders): void;
|
||||
|
||||
public function logoutUser(
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): void;
|
||||
|
||||
/**
|
||||
* Operation updateUser
|
||||
@@ -162,6 +183,10 @@ interface UserApiInterface
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function updateUser(string $username, User $user, int &$responseCode, array &$responseHeaders): void;
|
||||
|
||||
public function updateUser(
|
||||
string $username,
|
||||
User $user,
|
||||
int &$responseCode,
|
||||
array &$responseHeaders
|
||||
): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user