diff --git a/openapi.yaml b/openapi.yaml index cef82a0..fe3297d 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -20831,6 +20831,15 @@ components: description: One of the Outcome's own Indicators whose value this is; empty for the Outcome's own value financial_value_id: type: integer + financial_value_name: + type: string + description: The Financial Value's name, as on the Framework Set page + amount: + type: number + description: The Financial Value's amount, in its currency + currency: + type: string + description: The currency's code, e.g. GBP PaginatedFrameworkSets: allOf: diff --git a/server.js b/server.js index b7b121c..d20c072 100644 --- a/server.js +++ b/server.js @@ -2586,7 +2586,7 @@ function buildDocsPage() { ${endpointCard("GET", "/framework_sets/{id}", "Get a Framework Set", true, [ { name: "id", in: "path", type: "integer", required: true, desc: "Framework Set ID" } ], [ - { code: "200", cls: "response-2xx", desc: "The set, with frameworks in order and financial_values" }, + { code: "200", cls: "response-2xx", desc: "The set, with frameworks in order and financial_values. Each financial value gives its financial_value_name, amount and currency as well as its ids" }, { code: "404", cls: "response-4xx", desc: "Not found, or not available to the user" } ])} ${endpointCard("POST", "/framework_sets", "Create a Framework Set", true, [], [