Skip to content

Instantly share code, notes, and snippets.

@jerzyn
Created October 19, 2015 15:12
Show Gist options
  • Save jerzyn/f015430aa54d119ecd6e to your computer and use it in GitHub Desktop.
Save jerzyn/f015430aa54d119ecd6e 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