diff options
author | Stephen Finucane <stephen@that.guru> | 2020-02-27 22:24:45 +0000 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2020-02-27 22:27:29 +0000 |
commit | 46bd25f46d79e4cc143e7c5cedae818381d904ba (patch) | |
tree | abda32906d1f28ba063d86cf40fc648a24d1c08d /docs/api/schemas | |
parent | 00dce0570be62952373b8ed21fd8366e80e71487 (diff) | |
download | patchwork-46bd25f46d79e4cc143e7c5cedae818381d904ba.tar patchwork-46bd25f46d79e4cc143e7c5cedae818381d904ba.tar.gz |
docs: Update schemas to reflect latest changes in template
Looks like I forgot to run the 'generate-schema' script beforehand. Fix
that now.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: cd3a2ce8 ("REST: Allow configuration of user settings via API")
Diffstat (limited to 'docs/api/schemas')
-rw-r--r-- | docs/api/schemas/latest/patchwork.yaml | 14 | ||||
-rw-r--r-- | docs/api/schemas/v1.2/patchwork.yaml | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/docs/api/schemas/latest/patchwork.yaml b/docs/api/schemas/latest/patchwork.yaml index 4d660d5..4cee151 100644 --- a/docs/api/schemas/latest/patchwork.yaml +++ b/docs/api/schemas/latest/patchwork.yaml @@ -1092,7 +1092,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserSelf' + $ref: '#/components/schemas/UserDetail' '403': description: Forbidden content: @@ -1129,7 +1129,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserSelf' + $ref: '#/components/schemas/UserDetail' '400': description: Bad request content: @@ -1172,7 +1172,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserSelf' + $ref: '#/components/schemas/UserDetail' '400': description: Bad request content: @@ -1307,13 +1307,13 @@ components: content: application/json: schema: - $ref: '#/components/schemas/UserSelf' + $ref: '#/components/schemas/UserDetail' multipart/form-data: schema: - $ref: '#/components/schemas/UserSelf' + $ref: '#/components/schemas/UserDetail' application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/UserSelf' + $ref: '#/components/schemas/UserDetail' schemas: Index: type: object @@ -2165,7 +2165,7 @@ components: format: email readOnly: true minLength: 1 - UserSelf: + UserDetail: type: object allOf: - $ref: '#/components/schemas/User' diff --git a/docs/api/schemas/v1.2/patchwork.yaml b/docs/api/schemas/v1.2/patchwork.yaml index 50db73c..be79e38 100644 --- a/docs/api/schemas/v1.2/patchwork.yaml +++ b/docs/api/schemas/v1.2/patchwork.yaml @@ -1092,7 +1092,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserSelf' + $ref: '#/components/schemas/UserDetail' '403': description: Forbidden content: @@ -1129,7 +1129,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserSelf' + $ref: '#/components/schemas/UserDetail' '400': description: Bad request content: @@ -1172,7 +1172,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserSelf' + $ref: '#/components/schemas/UserDetail' '400': description: Bad request content: @@ -1307,13 +1307,13 @@ components: content: application/json: schema: - $ref: '#/components/schemas/UserSelf' + $ref: '#/components/schemas/UserDetail' multipart/form-data: schema: - $ref: '#/components/schemas/UserSelf' + $ref: '#/components/schemas/UserDetail' application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/UserSelf' + $ref: '#/components/schemas/UserDetail' schemas: Index: type: object @@ -2165,7 +2165,7 @@ components: format: email readOnly: true minLength: 1 - UserSelf: + UserDetail: type: object allOf: - $ref: '#/components/schemas/User' |