From c8a799fc54875393adf60a7d7f90c9baf6b388ca Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Sun, 1 Mar 2020 15:13:23 +0000 Subject: 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 --- docs/api/schemas/latest/patchwork.yaml | 16 ++++++++-------- docs/api/schemas/patchwork.j2 | 16 ++++++++-------- docs/api/schemas/v1.0/patchwork.yaml | 16 ++++++++-------- docs/api/schemas/v1.1/patchwork.yaml | 16 ++++++++-------- docs/api/schemas/v1.2/patchwork.yaml | 16 ++++++++-------- 5 files changed, 40 insertions(+), 40 deletions(-) (limited to 'docs') diff --git a/docs/api/schemas/latest/patchwork.yaml b/docs/api/schemas/latest/patchwork.yaml index 20ca90e..a8910a7 100644 --- a/docs/api/schemas/latest/patchwork.yaml +++ b/docs/api/schemas/latest/patchwork.yaml @@ -249,7 +249,7 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CoverLetterList' + $ref: '#/components/schemas/CoverList' tags: - covers /api/covers/{id}/: @@ -270,7 +270,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CoverLetterDetail' + $ref: '#/components/schemas/CoverDetail' '404': description: Not found content: @@ -1528,7 +1528,7 @@ components: additionalProperties: type: string readOnly: true - CoverLetterList: + CoverList: type: object properties: id: @@ -1590,9 +1590,9 @@ components: type: string format: uri readOnly: true - CoverLetterDetail: + CoverDetail: allOf: - - $ref: '#/components/schemas/CoverLetterList' + - $ref: '#/components/schemas/CoverList' - properties: headers: title: Headers @@ -1652,7 +1652,7 @@ components: payload: properties: cover: - $ref: '#/components/schemas/CoverLetterEmbedded' + $ref: '#/components/schemas/CoverEmbedded' EventPatchCreated: allOf: - $ref: '#/components/schemas/EventBase' @@ -2131,7 +2131,7 @@ components: format: uri readOnly: true cover_letter: - $ref: '#/components/schemas/CoverLetterEmbedded' + $ref: '#/components/schemas/CoverEmbedded' patches: title: Patches type: array @@ -2244,7 +2244,7 @@ components: maxLength: 255 minLength: 1 readOnly: true - CoverLetterEmbedded: + CoverEmbedded: type: object properties: id: diff --git a/docs/api/schemas/patchwork.j2 b/docs/api/schemas/patchwork.j2 index 1ec3848..c55f6f4 100644 --- a/docs/api/schemas/patchwork.j2 +++ b/docs/api/schemas/patchwork.j2 @@ -256,7 +256,7 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CoverLetterList' + $ref: '#/components/schemas/CoverList' tags: - covers /api/{{ version_url }}covers/{id}/: @@ -277,7 +277,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CoverLetterDetail' + $ref: '#/components/schemas/CoverDetail' '404': description: Not found content: @@ -1586,7 +1586,7 @@ components: additionalProperties: type: string readOnly: true - CoverLetterList: + CoverList: type: object properties: id: @@ -1656,9 +1656,9 @@ components: format: uri readOnly: true {% endif %} - CoverLetterDetail: + CoverDetail: allOf: - - $ref: '#/components/schemas/CoverLetterList' + - $ref: '#/components/schemas/CoverList' - properties: headers: title: Headers @@ -1720,7 +1720,7 @@ components: payload: properties: cover: - $ref: '#/components/schemas/CoverLetterEmbedded' + $ref: '#/components/schemas/CoverEmbedded' EventPatchCreated: allOf: - $ref: '#/components/schemas/EventBase' @@ -2217,7 +2217,7 @@ components: format: uri readOnly: true cover_letter: - $ref: '#/components/schemas/CoverLetterEmbedded' + $ref: '#/components/schemas/CoverEmbedded' patches: title: Patches type: array @@ -2332,7 +2332,7 @@ components: maxLength: 255 minLength: 1 readOnly: true - CoverLetterEmbedded: + CoverEmbedded: type: object properties: id: 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: diff --git a/docs/api/schemas/v1.1/patchwork.yaml b/docs/api/schemas/v1.1/patchwork.yaml index 614a7fb..5acd33a 100644 --- a/docs/api/schemas/v1.1/patchwork.yaml +++ b/docs/api/schemas/v1.1/patchwork.yaml @@ -142,7 +142,7 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CoverLetterList' + $ref: '#/components/schemas/CoverList' tags: - covers /api/1.1/covers/{id}/: @@ -163,7 +163,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CoverLetterDetail' + $ref: '#/components/schemas/CoverDetail' '404': description: Not found content: @@ -1354,7 +1354,7 @@ components: additionalProperties: type: string readOnly: true - CoverLetterList: + CoverList: type: object properties: id: @@ -1411,9 +1411,9 @@ components: type: string format: uri readOnly: true - CoverLetterDetail: + CoverDetail: allOf: - - $ref: '#/components/schemas/CoverLetterList' + - $ref: '#/components/schemas/CoverList' - properties: headers: title: Headers @@ -1465,7 +1465,7 @@ components: payload: properties: cover: - $ref: '#/components/schemas/CoverLetterEmbedded' + $ref: '#/components/schemas/CoverEmbedded' EventPatchCreated: allOf: - $ref: '#/components/schemas/EventBase' @@ -1911,7 +1911,7 @@ components: format: uri readOnly: true cover_letter: - $ref: '#/components/schemas/CoverLetterEmbedded' + $ref: '#/components/schemas/CoverEmbedded' patches: title: Patches type: array @@ -1997,7 +1997,7 @@ components: maxLength: 255 minLength: 1 readOnly: true - CoverLetterEmbedded: + CoverEmbedded: type: object properties: id: diff --git a/docs/api/schemas/v1.2/patchwork.yaml b/docs/api/schemas/v1.2/patchwork.yaml index 6545493..712d137 100644 --- a/docs/api/schemas/v1.2/patchwork.yaml +++ b/docs/api/schemas/v1.2/patchwork.yaml @@ -249,7 +249,7 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CoverLetterList' + $ref: '#/components/schemas/CoverList' tags: - covers /api/1.2/covers/{id}/: @@ -270,7 +270,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CoverLetterDetail' + $ref: '#/components/schemas/CoverDetail' '404': description: Not found content: @@ -1528,7 +1528,7 @@ components: additionalProperties: type: string readOnly: true - CoverLetterList: + CoverList: type: object properties: id: @@ -1590,9 +1590,9 @@ components: type: string format: uri readOnly: true - CoverLetterDetail: + CoverDetail: allOf: - - $ref: '#/components/schemas/CoverLetterList' + - $ref: '#/components/schemas/CoverList' - properties: headers: title: Headers @@ -1652,7 +1652,7 @@ components: payload: properties: cover: - $ref: '#/components/schemas/CoverLetterEmbedded' + $ref: '#/components/schemas/CoverEmbedded' EventPatchCreated: allOf: - $ref: '#/components/schemas/EventBase' @@ -2131,7 +2131,7 @@ components: format: uri readOnly: true cover_letter: - $ref: '#/components/schemas/CoverLetterEmbedded' + $ref: '#/components/schemas/CoverEmbedded' patches: title: Patches type: array @@ -2244,7 +2244,7 @@ components: maxLength: 255 minLength: 1 readOnly: true - CoverLetterEmbedded: + CoverEmbedded: type: object properties: id: -- cgit v1.2.3