From 871de7a0656eb5458edbfe9d00da2df9b77ef63e Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 21 Dec 2023 15:58:11 +0000 Subject: [PATCH] Bug 35628: Add status to ticket definition Signed-off-by: Esther Melander --- api/v1/swagger/definitions/ticket.yaml | 6 ++++++ api/v1/swagger/definitions/ticket_update.yaml | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/api/v1/swagger/definitions/ticket.yaml b/api/v1/swagger/definitions/ticket.yaml index 57e4cfd54da..e588c99515e 100644 --- a/api/v1/swagger/definitions/ticket.yaml +++ b/api/v1/swagger/definitions/ticket.yaml @@ -27,6 +27,12 @@ properties: body: type: string description: Ticket details + status: + type: + - string + - "null" + description: Current status of the ticket + readOnly: true reporter: type: - object diff --git a/api/v1/swagger/definitions/ticket_update.yaml b/api/v1/swagger/definitions/ticket_update.yaml index 8806ebe1f6e..7e956643123 100644 --- a/api/v1/swagger/definitions/ticket_update.yaml +++ b/api/v1/swagger/definitions/ticket_update.yaml @@ -31,6 +31,11 @@ properties: public: type: boolean description: Is this update intended to be sent to the patron + status: + type: + - string + - "null" + description: Status of the ticket after this update additionalProperties: true required: - message -- 2.43.0