Skip to content

Commit

Permalink
docs(grant-policy): fix docs (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix authored May 1, 2019
1 parent dddbaf4 commit b1021c8
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Policy'
$ref: '#/components/schemas/GrantPolicy'
responses:
204:
description: successfully granted additional policy
Expand Down Expand Up @@ -714,7 +714,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Policy'
$ref: '#/components/schemas/GrantPolicy'
responses:
204:
description: successfully granted additional policy
Expand Down Expand Up @@ -832,7 +832,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Policy'
$ref: '#/components/schemas/GrantPolicy'
responses:
204:
description: successfully granted additional policy
Expand Down Expand Up @@ -1094,6 +1094,13 @@ components:
items:
type: string
example: ["/programs/DEV/projects/test"]
GrantPolicy:
type: object
properties:
policy:
type: string
description: the policy to grant
example: 'policy_name'
User:
type: object
properties:
Expand Down

0 comments on commit b1021c8

Please sign in to comment.