From 1c165637c6c70da33c4e0d1bdae7f1420279a6ee Mon Sep 17 00:00:00 2001 From: domi41 Date: Sun, 6 Sep 2020 23:43:10 +0200 Subject: [PATCH] docs: review the responses --- openapi/components/responses/ballot-not-found.yaml | 2 +- openapi/components/responses/participant-not-found.yaml | 2 +- openapi/components/responses/poll-not-found.yaml | 2 +- openapi/components/responses/unauthorized.yaml | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/openapi/components/responses/ballot-not-found.yaml b/openapi/components/responses/ballot-not-found.yaml index e98c180..096bf0a 100644 --- a/openapi/components/responses/ballot-not-found.yaml +++ b/openapi/components/responses/ballot-not-found.yaml @@ -1,4 +1,4 @@ -description: The specified ballot was not found +description: The requested ballot was not found. content: application/json: schema: diff --git a/openapi/components/responses/participant-not-found.yaml b/openapi/components/responses/participant-not-found.yaml index 8e7e0dd..4d6649e 100644 --- a/openapi/components/responses/participant-not-found.yaml +++ b/openapi/components/responses/participant-not-found.yaml @@ -1,4 +1,4 @@ -description: The specified participant was not found +description: The requested participant was not found. content: application/json: schema: diff --git a/openapi/components/responses/poll-not-found.yaml b/openapi/components/responses/poll-not-found.yaml index 70684dd..55977ca 100644 --- a/openapi/components/responses/poll-not-found.yaml +++ b/openapi/components/responses/poll-not-found.yaml @@ -1,4 +1,4 @@ -description: The specified poll was not found +description: The requested poll was not found. content: application/json: schema: diff --git a/openapi/components/responses/unauthorized.yaml b/openapi/components/responses/unauthorized.yaml index 15dba9b..953a85a 100644 --- a/openapi/components/responses/unauthorized.yaml +++ b/openapi/components/responses/unauthorized.yaml @@ -1,4 +1,6 @@ -description: Unauthorized +description: > + Your are not authorized to do that operation. + Try logging in? If the problem persists, contact an administrator. content: application/json: schema: