forked from loafle/openapi-generator-original
[PHP][Symfony] Further enhancements (#7001)
* Further enchancements for PHP-Symfony. Fixes issues described in #6999 * Ran shell script to update petstore sample
This commit is contained in:
committed by
William Cheng
parent
a565a94a06
commit
5d59dd10ec
@@ -51,6 +51,8 @@ interface UserApiInterface
|
||||
* @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);
|
||||
|
||||
@@ -63,6 +65,8 @@ interface UserApiInterface
|
||||
* @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);
|
||||
|
||||
@@ -75,6 +79,8 @@ interface UserApiInterface
|
||||
* @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);
|
||||
|
||||
@@ -87,6 +93,8 @@ interface UserApiInterface
|
||||
* @param integer $responseCode The HTTP response code to return
|
||||
* @param array $responseHeaders Additional HTTP headers to return with the response ()
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
*/
|
||||
public function deleteUser($username, &$responseCode, array &$responseHeaders);
|
||||
|
||||
@@ -99,7 +107,7 @@ interface UserApiInterface
|
||||
* @param integer $responseCode The HTTP response code to return
|
||||
* @param array $responseHeaders Additional HTTP headers to return with the response ()
|
||||
*
|
||||
* @return Swagger\Server\Model\User
|
||||
* @return Swagger\Server\Model\User[]
|
||||
*
|
||||
*/
|
||||
public function getUserByName($username, &$responseCode, array &$responseHeaders);
|
||||
@@ -127,6 +135,8 @@ interface UserApiInterface
|
||||
* @param integer $responseCode The HTTP response code to return
|
||||
* @param array $responseHeaders Additional HTTP headers to return with the response ()
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
*/
|
||||
public function logoutUser(&$responseCode, array &$responseHeaders);
|
||||
|
||||
@@ -140,6 +150,8 @@ interface UserApiInterface
|
||||
* @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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user