- Issue created by @DresseDk
dressedk → changed the visibility of the branch 3480050-openapi-v2-does to hidden.
Added patch that removes the oauth2 flows and add a single accessCode flow.
The openapi v2 specification does not support multiple oauth2 flows. Instead it only allows for a single flow.
However the openapi v3 flows has been added to the module.
This means that if you try to generate API libraries based on the openapi.json file, it will fail with tools like openapitools/openapi-generator-cli .
I propose a solution that goes back to generating a single oauth2 flow.
Openapi v2 Security oauth2 Scheme Object supports 4 different flows (implicit, password, application, accessCode). I suggest the default oauth2 flow should be set to accessCode
as password
and implicit
is not considered best practice.
Active
2.1
Code
dressedk → changed the visibility of the branch 3480050-openapi-v2-does to hidden.
Added patch that removes the oauth2 flows and add a single accessCode flow.