forked from loafle/openapi-generator-original
Add Bearer authentication support to Python client (#1999)
* add bearer auth support to python * add bearer auth support to python * update python oas2 petstore samples * update samples * add bearer format * update php symfony samle
This commit is contained in:
@@ -43,15 +43,6 @@ use OpenAPI\Server\Model\Pet;
|
||||
interface PetApiInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* Sets authentication method petstore_auth
|
||||
*
|
||||
* @param string $value Value of the petstore_auth authentication method.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setpetstore_auth($value);
|
||||
|
||||
/**
|
||||
* Sets authentication method api_key
|
||||
*
|
||||
@@ -61,6 +52,15 @@ interface PetApiInterface
|
||||
*/
|
||||
public function setapi_key($value);
|
||||
|
||||
/**
|
||||
* Sets authentication method petstore_auth
|
||||
*
|
||||
* @param string $value Value of the petstore_auth authentication method.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setpetstore_auth($value);
|
||||
|
||||
/**
|
||||
* Operation addPet
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user