From 2ea8f65762265abc303de5d79208db5f415793e9 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 30 Aug 2023 07:00:48 +0200 Subject: [PATCH] HMS-2452 fix: use DomainId for /domains/:uuid Domain PATH parameter `{uuid}` is now a `DomainId` UUID string. Signed-off-by: Christian Heimes --- public.openapi.json | 6 +++--- public.openapi.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public.openapi.json b/public.openapi.json index a07c4c6..6cf9b6a 100644 --- a/public.openapi.json +++ b/public.openapi.json @@ -247,7 +247,7 @@ "description": "The uuid that identify the domain.", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/DomainId" }, "examples": { "a random uuid generated by 'uuid' command": { @@ -285,7 +285,7 @@ "description": "uuid for the IPA domain.", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/DomainId" }, "examples": { "uuid": { @@ -361,7 +361,7 @@ "description": "uuid for the IPA domain.", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/DomainId" }, "examples": { "uuid": { diff --git a/public.openapi.yaml b/public.openapi.yaml index 6b5458b..28ed05a 100644 --- a/public.openapi.yaml +++ b/public.openapi.yaml @@ -161,7 +161,7 @@ paths: description: The uuid that identify the domain. required: true schema: - type: string + $ref: '#/components/schemas/DomainId' examples: a random uuid generated by 'uuid' command: value: '"2e8ce5a6-b370-11ed-9330-482ae3863d30"' @@ -186,7 +186,7 @@ paths: description: uuid for the IPA domain. required: true schema: - type: string + $ref: '#/components/schemas/DomainId' examples: uuid: value: 08363cd4-bea8-11ed-b83f-482ae3863d30 @@ -237,7 +237,7 @@ paths: description: uuid for the IPA domain. required: true schema: - type: string + $ref: '#/components/schemas/DomainId' examples: uuid: value: 08363cd4-bea8-11ed-b83f-482ae3863d30