summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2020-04-15 23:36:59 +0100
committerStephen Finucane <stephen@that.guru>2020-04-18 11:57:28 +0100
commit2047107468a1d78daf2e917ddce1253b38ea23ea (patch)
tree0677aefee680ff31665c41a9c95b1ae61f7a9ab9
parent11131063b49b81d86cf51a8c2704370997db3d38 (diff)
downloadpatchwork-2047107468a1d78daf2e917ddce1253b38ea23ea.tar
patchwork-2047107468a1d78daf2e917ddce1253b38ea23ea.tar.gz
docs: Resolve issues with 'patches'
Four issues to resolve: - The 'tags' field is a key-value mapping, not an array. - Each header in the 'headers' field can be either a string or a list value. - Errors are reported as a mapping of the field name to an array of errors, not a string. - The security type information isn't complete and doesn't account for security types. Skip it for now. Signed-off-by: Stephen Finucane <stephen@that.guru>
-rw-r--r--docs/api/schemas/latest/patchwork.yaml116
-rw-r--r--docs/api/schemas/patchwork.j2116
-rw-r--r--docs/api/schemas/v1.0/patchwork.yaml98
-rw-r--r--docs/api/schemas/v1.1/patchwork.yaml98
-rw-r--r--docs/api/schemas/v1.2/patchwork.yaml116
5 files changed, 307 insertions, 237 deletions
diff --git a/docs/api/schemas/latest/patchwork.yaml b/docs/api/schemas/latest/patchwork.yaml
index 6232d87..e0054b9 100644
--- a/docs/api/schemas/latest/patchwork.yaml
+++ b/docs/api/schemas/latest/patchwork.yaml
@@ -76,9 +76,9 @@ paths:
post:
description: Create a bundle.
operationId: bundles_create
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Bundle'
responses:
@@ -132,9 +132,9 @@ paths:
patch:
description: Update a bundle (partial).
operationId: bundles_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Bundle'
responses:
@@ -167,9 +167,9 @@ paths:
put:
description: Update a bundle.
operationId: bundles_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Bundle'
responses:
@@ -519,9 +519,9 @@ paths:
patch:
description: Update a patch (partial).
operationId: patches_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Patch'
responses:
@@ -560,9 +560,9 @@ paths:
put:
description: Update a patch.
operationId: patches_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Patch'
responses:
@@ -700,9 +700,9 @@ paths:
post:
description: Create a check.
operationId: checks_create
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Check'
responses:
@@ -770,9 +770,9 @@ paths:
get:
description: List people.
operationId: people_list
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PageSize'
@@ -810,9 +810,9 @@ paths:
get:
description: Show a person.
operationId: people_read
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
responses:
'200':
description: ''
@@ -887,9 +887,9 @@ paths:
patch:
description: Update a project (partial).
operationId: projects_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Project'
responses:
@@ -922,9 +922,9 @@ paths:
put:
description: Update a project.
operationId: projects_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Project'
responses:
@@ -1022,9 +1022,9 @@ paths:
get:
description: List users.
operationId: users_list
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PageSize'
@@ -1062,9 +1062,9 @@ paths:
get:
description: Show a user.
operationId: users_read
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
responses:
'200':
description: ''
@@ -1089,9 +1089,9 @@ paths:
patch:
description: Update a user (partial).
operationId: users_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/User'
responses:
@@ -1124,9 +1124,9 @@ paths:
put:
description: Update a user.
operationId: users_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/User'
responses:
@@ -1871,8 +1871,8 @@ components:
readOnly: true
tags:
title: Tags
- type: array
- items:
+ type: object
+ additionalProperties:
type: string
readOnly: true
related:
@@ -1886,9 +1886,15 @@ components:
- properties:
headers:
title: Headers
- type: array
- items:
- type: string
+ anyOf:
+ - type: object
+ additionalProperties:
+ type: array
+ items:
+ type: string
+ - type: object
+ additionalProperties:
+ type: string
readOnly: true
content:
title: Content
@@ -2532,19 +2538,27 @@ components:
properties:
state:
title: State
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
delegate:
title: Delegate
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
commit_ref:
title: Commit ref
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
archived:
title: Archived
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
ErrorProjectUpdate:
type: object
diff --git a/docs/api/schemas/patchwork.j2 b/docs/api/schemas/patchwork.j2
index a1496e1..66904d0 100644
--- a/docs/api/schemas/patchwork.j2
+++ b/docs/api/schemas/patchwork.j2
@@ -78,9 +78,9 @@ paths:
post:
description: Create a bundle.
operationId: bundles_create
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Bundle'
responses:
@@ -136,9 +136,9 @@ paths:
patch:
description: Update a bundle (partial).
operationId: bundles_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Bundle'
responses:
@@ -171,9 +171,9 @@ paths:
put:
description: Update a bundle.
operationId: bundles_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Bundle'
responses:
@@ -536,9 +536,9 @@ paths:
patch:
description: Update a patch (partial).
operationId: patches_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Patch'
responses:
@@ -579,9 +579,9 @@ paths:
put:
description: Update a patch.
operationId: patches_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Patch'
responses:
@@ -721,9 +721,9 @@ paths:
post:
description: Create a check.
operationId: checks_create
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Check'
responses:
@@ -791,9 +791,9 @@ paths:
get:
description: List people.
operationId: people_list
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PageSize'
@@ -831,9 +831,9 @@ paths:
get:
description: Show a person.
operationId: people_read
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
responses:
'200':
description: ''
@@ -908,9 +908,9 @@ paths:
patch:
description: Update a project (partial).
operationId: projects_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Project'
responses:
@@ -943,9 +943,9 @@ paths:
put:
description: Update a project.
operationId: projects_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Project'
responses:
@@ -1043,9 +1043,9 @@ paths:
get:
description: List users.
operationId: users_list
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PageSize'
@@ -1083,9 +1083,9 @@ paths:
get:
description: Show a user.
operationId: users_read
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
responses:
'200':
description: ''
@@ -1114,9 +1114,9 @@ paths:
patch:
description: Update a user (partial).
operationId: users_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/User'
responses:
@@ -1153,9 +1153,9 @@ paths:
put:
description: Update a user.
operationId: users_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/User'
responses:
@@ -1947,8 +1947,8 @@ components:
readOnly: true
tags:
title: Tags
- type: array
- items:
+ type: object
+ additionalProperties:
type: string
readOnly: true
{% if version >= (1, 2) %}
@@ -1964,9 +1964,15 @@ components:
- properties:
headers:
title: Headers
- type: array
- items:
- type: string
+ anyOf:
+ - type: object
+ additionalProperties:
+ type: array
+ items:
+ type: string
+ - type: object
+ additionalProperties:
+ type: string
readOnly: true
content:
title: Content
@@ -2634,19 +2640,27 @@ components:
properties:
state:
title: State
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
delegate:
title: Delegate
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
commit_ref:
title: Commit ref
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
archived:
title: Archived
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
ErrorProjectUpdate:
type: object
diff --git a/docs/api/schemas/v1.0/patchwork.yaml b/docs/api/schemas/v1.0/patchwork.yaml
index 31b8d91..9205c4f 100644
--- a/docs/api/schemas/v1.0/patchwork.yaml
+++ b/docs/api/schemas/v1.0/patchwork.yaml
@@ -392,9 +392,9 @@ paths:
patch:
description: Update a patch (partial).
operationId: patches_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Patch'
responses:
@@ -427,9 +427,9 @@ paths:
put:
description: Update a patch.
operationId: patches_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Patch'
responses:
@@ -561,9 +561,9 @@ paths:
post:
description: Create a check.
operationId: checks_create
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Check'
responses:
@@ -631,9 +631,9 @@ paths:
get:
description: List people.
operationId: people_list
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PageSize'
@@ -671,9 +671,9 @@ paths:
get:
description: Show a person.
operationId: people_read
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
responses:
'200':
description: ''
@@ -748,9 +748,9 @@ paths:
patch:
description: Update a project (partial).
operationId: projects_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Project'
responses:
@@ -783,9 +783,9 @@ paths:
put:
description: Update a project.
operationId: projects_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Project'
responses:
@@ -883,9 +883,9 @@ paths:
get:
description: List users.
operationId: users_list
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PageSize'
@@ -923,9 +923,9 @@ paths:
get:
description: Show a user.
operationId: users_read
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
responses:
'200':
description: ''
@@ -950,9 +950,9 @@ paths:
patch:
description: Update a user (partial).
operationId: users_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/User'
responses:
@@ -985,9 +985,9 @@ paths:
put:
description: Update a user.
operationId: users_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/User'
responses:
@@ -1627,8 +1627,8 @@ components:
readOnly: true
tags:
title: Tags
- type: array
- items:
+ type: object
+ additionalProperties:
type: string
readOnly: true
PatchDetail:
@@ -1637,9 +1637,15 @@ components:
- properties:
headers:
title: Headers
- type: array
- items:
- type: string
+ anyOf:
+ - type: object
+ additionalProperties:
+ type: array
+ items:
+ type: string
+ - type: object
+ additionalProperties:
+ type: string
readOnly: true
content:
title: Content
@@ -2159,19 +2165,27 @@ components:
properties:
state:
title: State
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
delegate:
title: Delegate
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
commit_ref:
title: Commit ref
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
archived:
title: Archived
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
ErrorProjectUpdate:
type: object
diff --git a/docs/api/schemas/v1.1/patchwork.yaml b/docs/api/schemas/v1.1/patchwork.yaml
index 943ecc5..993bf51 100644
--- a/docs/api/schemas/v1.1/patchwork.yaml
+++ b/docs/api/schemas/v1.1/patchwork.yaml
@@ -392,9 +392,9 @@ paths:
patch:
description: Update a patch (partial).
operationId: patches_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Patch'
responses:
@@ -427,9 +427,9 @@ paths:
put:
description: Update a patch.
operationId: patches_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Patch'
responses:
@@ -561,9 +561,9 @@ paths:
post:
description: Create a check.
operationId: checks_create
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Check'
responses:
@@ -631,9 +631,9 @@ paths:
get:
description: List people.
operationId: people_list
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PageSize'
@@ -671,9 +671,9 @@ paths:
get:
description: Show a person.
operationId: people_read
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
responses:
'200':
description: ''
@@ -748,9 +748,9 @@ paths:
patch:
description: Update a project (partial).
operationId: projects_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Project'
responses:
@@ -783,9 +783,9 @@ paths:
put:
description: Update a project.
operationId: projects_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Project'
responses:
@@ -883,9 +883,9 @@ paths:
get:
description: List users.
operationId: users_list
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PageSize'
@@ -923,9 +923,9 @@ paths:
get:
description: Show a user.
operationId: users_read
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
responses:
'200':
description: ''
@@ -950,9 +950,9 @@ paths:
patch:
description: Update a user (partial).
operationId: users_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/User'
responses:
@@ -985,9 +985,9 @@ paths:
put:
description: Update a user.
operationId: users_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/User'
responses:
@@ -1680,8 +1680,8 @@ components:
readOnly: true
tags:
title: Tags
- type: array
- items:
+ type: object
+ additionalProperties:
type: string
readOnly: true
PatchDetail:
@@ -1690,9 +1690,15 @@ components:
- properties:
headers:
title: Headers
- type: array
- items:
- type: string
+ anyOf:
+ - type: object
+ additionalProperties:
+ type: array
+ items:
+ type: string
+ - type: object
+ additionalProperties:
+ type: string
readOnly: true
content:
title: Content
@@ -2243,19 +2249,27 @@ components:
properties:
state:
title: State
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
delegate:
title: Delegate
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
commit_ref:
title: Commit ref
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
archived:
title: Archived
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
ErrorProjectUpdate:
type: object
diff --git a/docs/api/schemas/v1.2/patchwork.yaml b/docs/api/schemas/v1.2/patchwork.yaml
index 8166840..aac7032 100644
--- a/docs/api/schemas/v1.2/patchwork.yaml
+++ b/docs/api/schemas/v1.2/patchwork.yaml
@@ -76,9 +76,9 @@ paths:
post:
description: Create a bundle.
operationId: bundles_create
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Bundle'
responses:
@@ -132,9 +132,9 @@ paths:
patch:
description: Update a bundle (partial).
operationId: bundles_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Bundle'
responses:
@@ -167,9 +167,9 @@ paths:
put:
description: Update a bundle.
operationId: bundles_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Bundle'
responses:
@@ -519,9 +519,9 @@ paths:
patch:
description: Update a patch (partial).
operationId: patches_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Patch'
responses:
@@ -560,9 +560,9 @@ paths:
put:
description: Update a patch.
operationId: patches_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Patch'
responses:
@@ -700,9 +700,9 @@ paths:
post:
description: Create a check.
operationId: checks_create
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Check'
responses:
@@ -770,9 +770,9 @@ paths:
get:
description: List people.
operationId: people_list
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PageSize'
@@ -810,9 +810,9 @@ paths:
get:
description: Show a person.
operationId: people_read
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
responses:
'200':
description: ''
@@ -887,9 +887,9 @@ paths:
patch:
description: Update a project (partial).
operationId: projects_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Project'
responses:
@@ -922,9 +922,9 @@ paths:
put:
description: Update a project.
operationId: projects_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/Project'
responses:
@@ -1022,9 +1022,9 @@ paths:
get:
description: List users.
operationId: users_list
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PageSize'
@@ -1062,9 +1062,9 @@ paths:
get:
description: Show a user.
operationId: users_read
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
responses:
'200':
description: ''
@@ -1089,9 +1089,9 @@ paths:
patch:
description: Update a user (partial).
operationId: users_partial_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/User'
responses:
@@ -1124,9 +1124,9 @@ paths:
put:
description: Update a user.
operationId: users_update
- security:
- - basicAuth: []
- - apiKeyAuth: []
+# security:
+# - basicAuth: []
+# - apiKeyAuth: []
requestBody:
$ref: '#/components/requestBodies/User'
responses:
@@ -1871,8 +1871,8 @@ components:
readOnly: true
tags:
title: Tags
- type: array
- items:
+ type: object
+ additionalProperties:
type: string
readOnly: true
related:
@@ -1886,9 +1886,15 @@ components:
- properties:
headers:
title: Headers
- type: array
- items:
- type: string
+ anyOf:
+ - type: object
+ additionalProperties:
+ type: array
+ items:
+ type: string
+ - type: object
+ additionalProperties:
+ type: string
readOnly: true
content:
title: Content
@@ -2532,19 +2538,27 @@ components:
properties:
state:
title: State
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
delegate:
title: Delegate
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
commit_ref:
title: Commit ref
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
archived:
title: Archived
- type: string
+ type: array
+ items:
+ type: string
readOnly: true
ErrorProjectUpdate:
type: object