From 1a024c04dcf6ee7df1078d97bf7ef5a73ab39424 Mon Sep 17 00:00:00 2001 From: Gianmaria Del Monte Date: Thu, 19 Jan 2023 16:19:58 +0100 Subject: [PATCH] add more errors on invite-accepted endpoint --- spec.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/spec.yaml b/spec.yaml index 135d434..723d70c 100644 --- a/spec.yaml +++ b/spec.yaml @@ -167,11 +167,20 @@ paths: 400: description: The invitation token is invalid. schema: - $ref: "#/definitions/Error" + $ref: "#/definitions/Error" 403: description: Remote service is not trusted to accept invitations. schema: $ref: "#/definitions/Error" + 404: + description: The invitation token does not exist. + schema: + $ref: "#/definitions/Error" + 409: + description: User is already known by the OCM provider. + schema: + $ref: "#/definitions/Error" + definitions: '400': type: object