From 73b2744c16ee0efce79d8a15d6fb13dee5cef958 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 Content-Type: text/plain; charset=utf-8 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 5ca2671cbb..bfa0e11a46 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 8806ebe1f6..7e95664312 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.30.2