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