From 2ae3f1e4ae739ee7c5ae1106cf929c20b2d628e4 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 27 Jan 2023 13:15:45 -0500 Subject: [PATCH] fix: schema changes for 9f531f957e08eabb4bae844ddd67bde14d9b59f0 --- public/openapi/read/flags/flagId.yaml | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/public/openapi/read/flags/flagId.yaml b/public/openapi/read/flags/flagId.yaml index 0939124937..509d5e5204 100644 --- a/public/openapi/read/flags/flagId.yaml +++ b/public/openapi/read/flags/flagId.yaml @@ -42,5 +42,39 @@ get: additionalProperties: description: "A list of global and admin privileges, and whether the calling user has (or has inherited) them" type: boolean + states: + type: object + properties: + open: + type: object + properties: + label: + type: string + class: + type: string + wip: + type: object + properties: + label: + type: string + class: + type: string + resolved: + type: object + properties: + label: + type: string + class: + type: string + rejected: + type: object + properties: + label: + type: string + class: + type: string + additionalProperties: + type: object + description: Plugins are able to add additional flag states, and so their values would also be present here if so. - $ref: ../../components/schemas/Breadcrumbs.yaml#/Breadcrumbs - $ref: ../../components/schemas/CommonProps.yaml#/CommonProps \ No newline at end of file