chore: update spec

This commit is contained in:
Denis Gukov 2023-09-18 19:49:55 +02:00
parent 80d7c784fe
commit 46ea9b37a1

View File

@ -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