From b1021c80aec4660aee022111495e8679830389bf Mon Sep 17 00:00:00 2001 From: Fantix King Date: Wed, 1 May 2019 15:47:28 -0500 Subject: [PATCH] docs(grant-policy): fix docs (#63) --- docs/openapi.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 3ca1a0aa..7acb938a 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -594,7 +594,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Policy' + $ref: '#/components/schemas/GrantPolicy' responses: 204: description: successfully granted additional policy @@ -714,7 +714,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Policy' + $ref: '#/components/schemas/GrantPolicy' responses: 204: description: successfully granted additional policy @@ -832,7 +832,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Policy' + $ref: '#/components/schemas/GrantPolicy' responses: 204: description: successfully granted additional policy @@ -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: