From 46ea9b37a1cda9d685643db140007e7c0bf315aa Mon Sep 17 00:00:00 2001 From: Denis Gukov Date: Mon, 18 Sep 2023 19:49:55 +0200 Subject: [PATCH] chore: update spec --- api-docs.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/api-docs.yml b/api-docs.yml index e5908826..5310a3e0 100644 --- a/api-docs.yml +++ b/api-docs.yml @@ -115,12 +115,22 @@ definitions: type: string created: type: string -# pattern: ^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}T\d{2}:\d{2}:\d{2}Z$ alert: type: boolean admin: type: boolean + ProjectUser: + type: object + properties: + id: + type: integer + minimum: 1 + name: + type: string + username: + type: string + APIToken: type: object properties: @@ -1065,7 +1075,7 @@ paths: schema: type: array items: - $ref: "#/definitions/User" + $ref: "#/definitions/ProjectUser" post: tags: - project