forked from loafle/openapi-generator-original
Update PHP Symfony server petstore with OAS2, OAS3 (#255)
* update php symfony with oas2 petstore * update php symfony with oas3 petstore
This commit is contained in:
@@ -47,42 +47,42 @@ interface UserApiInterface
|
||||
*
|
||||
* Create user
|
||||
*
|
||||
* @param Swagger\Server\Model\User $body Created user object (required)
|
||||
* @param Swagger\Server\Model\User $user Created user object (required)
|
||||
* @param integer $responseCode The HTTP response code to return
|
||||
* @param array $responseHeaders Additional HTTP headers to return with the response ()
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
*/
|
||||
public function createUser(User $body, &$responseCode, array &$responseHeaders);
|
||||
public function createUser(User $user, &$responseCode, array &$responseHeaders);
|
||||
|
||||
/**
|
||||
* Operation createUsersWithArrayInput
|
||||
*
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
* @param Swagger\Server\Model\User[] $body List of user object (required)
|
||||
* @param Swagger\Server\Model\User[] $user List of user object (required)
|
||||
* @param integer $responseCode The HTTP response code to return
|
||||
* @param array $responseHeaders Additional HTTP headers to return with the response ()
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
*/
|
||||
public function createUsersWithArrayInput(array $body, &$responseCode, array &$responseHeaders);
|
||||
public function createUsersWithArrayInput(array $user, &$responseCode, array &$responseHeaders);
|
||||
|
||||
/**
|
||||
* Operation createUsersWithListInput
|
||||
*
|
||||
* Creates list of users with given input array
|
||||
*
|
||||
* @param Swagger\Server\Model\User[] $body List of user object (required)
|
||||
* @param Swagger\Server\Model\User[] $user List of user object (required)
|
||||
* @param integer $responseCode The HTTP response code to return
|
||||
* @param array $responseHeaders Additional HTTP headers to return with the response ()
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
*/
|
||||
public function createUsersWithListInput(array $body, &$responseCode, array &$responseHeaders);
|
||||
public function createUsersWithListInput(array $user, &$responseCode, array &$responseHeaders);
|
||||
|
||||
/**
|
||||
* Operation deleteUser
|
||||
@@ -146,12 +146,12 @@ interface UserApiInterface
|
||||
* Updated user
|
||||
*
|
||||
* @param string $username name that need to be deleted (required)
|
||||
* @param Swagger\Server\Model\User $body Updated user object (required)
|
||||
* @param Swagger\Server\Model\User $user Updated user object (required)
|
||||
* @param integer $responseCode The HTTP response code to return
|
||||
* @param array $responseHeaders Additional HTTP headers to return with the response ()
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
*/
|
||||
public function updateUser($username, User $body, &$responseCode, array &$responseHeaders);
|
||||
public function updateUser($username, User $user, &$responseCode, array &$responseHeaders);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user