From bb295c6ffc6a7c7abf43f88b79ca549883f2f18b Mon Sep 17 00:00:00 2001 From: Ray Papworth Date: Mon, 9 Dec 2024 11:41:56 +0000 Subject: [PATCH] updated yaml file --- api/dp-openapi.yaml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/api/dp-openapi.yaml b/api/dp-openapi.yaml index 66cf5abe1..73b30e90e 100644 --- a/api/dp-openapi.yaml +++ b/api/dp-openapi.yaml @@ -1000,23 +1000,31 @@ paths: type: string example: basic-latin subsets: - type: object - additionalProperties: + type: array + items: type: object properties: + name: + type: string title: type: string rows: type: array items: - type: object - additionalProperties: + type: array + items: type: string - example: - ˆ: { title: "Letters with acute, grave, and circumflex", - rows: [{Á: LATIN CAPITAL LETTER A WITH ACUTE, É: LATIN CAPITAL LETTER E WITH ACUTE}, - {á: LATIN SMALL LETTER A WITH ACUTE, é: LATIN SMALL LETTER E WITH ACUTE}]} - + example: + name: ˆ + title: "Letters with acute, grave, and circumflex" + rows: [ + [ + [Á, LATIN CAPITAL LETTER A WITH ACUTE], [É, LATIN CAPITAL LETTER E WITH ACUTE] + ], + [ + [á, LATIN SMALL LETTER A WITH ACUTE], [é, LATIN SMALL LETTER E WITH ACUTE] + ] + ] '400': $ref: '#/components/responses/InvalidValue' '401':