aboutsummaryrefslogtreecommitdiff
path: root/docs/api/schemas/v1.0
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2020-03-01 15:13:23 +0000
committerStephen Finucane <stephen@that.guru>2020-04-26 13:45:36 +0100
commitc8a799fc54875393adf60a7d7f90c9baf6b388ca (patch)
treed306bd0017f6562704c941318e2fed620103499c /docs/api/schemas/v1.0
parent781303bce0d8e94eae957bd3b30abe9a7849d981 (diff)
downloadpatchwork-c8a799fc54875393adf60a7d7f90c9baf6b388ca.tar
patchwork-c8a799fc54875393adf60a7d7f90c9baf6b388ca.tar.gz
trivial: Rename 'CoverLetter' references to 'Cover'
We're going to be doing some model surgery shortly. Do the necessary renaming of variables ahead of this. Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'docs/api/schemas/v1.0')
-rw-r--r--docs/api/schemas/v1.0/patchwork.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/api/schemas/v1.0/patchwork.yaml b/docs/api/schemas/v1.0/patchwork.yaml
index e946c9e..23e8930 100644
--- a/docs/api/schemas/v1.0/patchwork.yaml
+++ b/docs/api/schemas/v1.0/patchwork.yaml
@@ -142,7 +142,7 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/CoverLetterList'
+ $ref: '#/components/schemas/CoverList'
tags:
- covers
/api/1.0/covers/{id}/:
@@ -163,7 +163,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/CoverLetterDetail'
+ $ref: '#/components/schemas/CoverDetail'
'404':
description: Not found
content:
@@ -1344,7 +1344,7 @@ components:
additionalProperties:
type: string
readOnly: true
- CoverLetterList:
+ CoverList:
type: object
properties:
id:
@@ -1386,9 +1386,9 @@ components:
items:
$ref: '#/components/schemas/SeriesEmbedded'
readOnly: true
- CoverLetterDetail:
+ CoverDetail:
allOf:
- - $ref: '#/components/schemas/CoverLetterList'
+ - $ref: '#/components/schemas/CoverList'
- properties:
headers:
title: Headers
@@ -1440,7 +1440,7 @@ components:
payload:
properties:
cover:
- $ref: '#/components/schemas/CoverLetterEmbedded'
+ $ref: '#/components/schemas/CoverEmbedded'
EventPatchCreated:
allOf:
- $ref: '#/components/schemas/EventBase'
@@ -1842,7 +1842,7 @@ components:
format: uri
readOnly: true
cover_letter:
- $ref: '#/components/schemas/CoverLetterEmbedded'
+ $ref: '#/components/schemas/CoverEmbedded'
patches:
title: Patches
type: array
@@ -1928,7 +1928,7 @@ components:
maxLength: 255
minLength: 1
readOnly: true
- CoverLetterEmbedded:
+ CoverEmbedded:
type: object
properties:
id: