From dcb8c58abcc393b7da990dd97c0c1599019f7f0a 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 Signed-off-by: Ray Delahunty Signed-off-by: Marcel de Rooy --- 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 5ca2671cbb9..bfa0e11a466 100644 --- a/api/v1/swagger/definitions/ticket.yaml +++ b/api/v1/swagger/definitions/ticket.yaml @@ -31,6 +31,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.44.0