Browse topics, discover Works With Legrand community!

Add Oauth to swagger export


would it be possible to add the Oauth2 security components to the OpenAPI definition?

This will help generating clients with swagger codegen.

“apiKeyQuery”: {
“type”: “apiKey”,
“name”: “subscription-key”,
“in”: “query”
“oauth”: {
“type”: “oauth2”,
“authorizationUrl”: “”,
“tokenUrl”: “”,
“flow”: “accessCode”
“security”: [
“apiKeyHeader”: []
“oauth”: []


Very good idea !

We’ll see to put it in the development backlog and we keep you informed when it’s done

Have a good day,

Leslie – Community Manager

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.


message1 reply
people2 participants