Missing a receive token call in the generated client
I have the following part for securityDefinition in my swagger 2.0 API definition:
write:pets: "modify pets in your account"
read:pets: "read your pets"
With this API definition I generate a C# API Client with the online Swagger Editor Tool. The generated client code does not include an API call to receive the token from the given Url "http://petstore.swagger.io/oauth/dialog".