diff options
Diffstat (limited to 'docs/api/schemas/latest')
-rw-r--r-- | docs/api/schemas/latest/patchwork.yaml | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/docs/api/schemas/latest/patchwork.yaml b/docs/api/schemas/latest/patchwork.yaml index 28c1849..9fcafd0 100644 --- a/docs/api/schemas/latest/patchwork.yaml +++ b/docs/api/schemas/latest/patchwork.yaml @@ -379,7 +379,7 @@ paths: schema: type: array items: - oneOf: + anyOf: - $ref: '#/components/schemas/EventCoverCreated' - $ref: '#/components/schemas/EventPatchCreated' - $ref: '#/components/schemas/EventPatchCompleted' @@ -1636,6 +1636,7 @@ components: title: Actor description: The user that caused/created this event. readOnly: true + nullable: true allOf: - $ref: '#/components/schemas/UserEmbedded' payload: @@ -1651,9 +1652,7 @@ components: payload: properties: cover: - title: Cover - type: string - readOnly: true + $ref: '#/components/schemas/CoverLetterEmbedded' EventPatchCreated: allOf: - $ref: '#/components/schemas/EventBase' @@ -1729,13 +1728,9 @@ components: patch: $ref: '#/components/schemas/PatchEmbedded' previous_delegate: - allOf: - - $ref: '#/components/schemas/UserEmbedded' - - title: Previous delegate + $ref: '#/components/schemas/UserEmbedded' current_delegate: - allOf: - - $ref: '#/components/schemas/UserEmbedded' - - title: Current delegate + $ref: '#/components/schemas/UserEmbedded' EventCheckCreated: allOf: - $ref: '#/components/schemas/EventBase' |