-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Milestone
Description
Description
The documentation concerning oauth2 documentation is not clear.
Swagger-codegen version
2.2.3
Suggest a fix/enhancement
Running swagger-codegen and the resulting tool leaves an output like
Authentication methods
- Api-key - add 'api_key:<api-key>' after <operation>
or export PETSTORE_API_KEY='<api-key>'
- OAuth2 (flow: implicit)
Authorization URL:
* http://petstore.swagger.io/oauth/dialog
Scopes:
* write:pets - modify pets in your account
* read:pets - read your pets
which does not help me understand on how to use the OAuth2 authentication method in order to call the resp. operations. I do still not know wether its possible or not, and if how, to configure and use the OAuth2 authentication with the bash client.
Please enhance documentation, even by (if applicable) saying that there is no intrinsic generated way to handle it or something like this!