mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
chore: update spec
This commit is contained in:
parent
80d7c784fe
commit
46ea9b37a1
14
api-docs.yml
14
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
|
||||
|
Loading…
Reference in New Issue
Block a user