Add securityDefintions to generated swagger JSON
Also factor out to a common file
This commit is contained in:
parent
cf87120d78
commit
23c4ffbc1b
33 changed files with 46 additions and 155 deletions
|
@ -12,11 +12,7 @@ consumes:
|
|||
produces:
|
||||
- application/json
|
||||
securityDefinitions:
|
||||
accessToken:
|
||||
type: apiKey
|
||||
description: The user_id or application service access_token
|
||||
name: access_token
|
||||
in: query
|
||||
$ref: definitions/security.yaml
|
||||
paths:
|
||||
"/pushrules/":
|
||||
get:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue