Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hodrigohamalho/a870f7a772e30fc23ed034189d25d274 to your computer and use it in GitHub Desktop.
Save hodrigohamalho/a870f7a772e30fc23ed034189d25d274 to your computer and use it in GitHub Desktop.
Auto-filling of the user keys in Swagger 2.0
"parameters": [
{
"name": "user_key",
"description": "Your access API Key",
"type": "string",
"in": "query",
"x-data-threescale-name": "user_keys",
"required": true
},
// ...
// or "x-data-threescale-name": "app_ids" for authentication model App Id or OAuth
// and "x-data-threescale-name": "app_keys" for authentication mode APP Id
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment