From 249a6b2ca23f0af9f0324aa90227875e351fe17a Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Tue, 6 May 2025 18:41:37 +0100 Subject: [PATCH] Bug 33430: Update API specs to include required embeds --- api/v1/swagger/definitions/suggestion.yaml | 25 ++++++++++++++++++++++ api/v1/swagger/paths/suggestions.yaml | 6 ++++++ 2 files changed, 31 insertions(+) diff --git a/api/v1/swagger/definitions/suggestion.yaml b/api/v1/swagger/definitions/suggestion.yaml index 2a9bdfbfd5e..a36583bab27 100644 --- a/api/v1/swagger/definitions/suggestion.yaml +++ b/api/v1/swagger/definitions/suggestion.yaml @@ -191,6 +191,31 @@ properties: - boolean - "null" description: archived (processed) suggestion + suggester: + type: + - object + - "null" + description: suggester details + manager: + type: + - object + - "null" + description: suggestion manager details + last_modifier: + type: + - object + - "null" + description: last member to modify the suggestion + library: + type: + - object + - "null" + description: branch the suggestion belongs to + fund: + type: + - object + - "null" + description: fund the suggestion would be spent against _strings: type: - object diff --git a/api/v1/swagger/paths/suggestions.yaml b/api/v1/swagger/paths/suggestions.yaml index a4d3515ea51..8c9b6c4b8ed 100644 --- a/api/v1/swagger/paths/suggestions.yaml +++ b/api/v1/swagger/paths/suggestions.yaml @@ -24,6 +24,12 @@ type: string enum: - +strings + - suggester + - suggester.category + - manager + - last_modifier + - library + - fund collectionFormat: csv produces: - application/json -- 2.48.1