Add Oauth to swagger export
Dear,
would it be possible to add the Oauth2 security components to the OpenAPI definition?
This will help generating clients with swagger codegen.
https://portal.developer.legrand.com/docs/services/smartherV2/export?DocumentFormat=Swagger
“apiKeyQuery”: {
“type”: “apiKey”,
“name”: “subscription-key”,
“in”: “query”
},
“oauth”: {
“type”: “oauth2”,
“authorizationUrl”: “https://partners-login.eliotbylegrand.com/authorize”,
“tokenUrl”: “https://partners-login.eliotbylegrand.com/token”,
“flow”: “accessCode”
}
},
“security”: [
{
“apiKeyHeader”: []
},
{
“oauth”: []
}
],
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.