Skip to content

Commit

Permalink
HMS-2452 fix: use DomainId for /domains/:uuid
Browse files Browse the repository at this point in the history
Domain PATH parameter `{uuid}` is now a `DomainId` UUID string.

Signed-off-by: Christian Heimes <[email protected]>
  • Loading branch information
tiran committed Aug 30, 2023
1 parent 17aad19 commit 2ea8f65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions public.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -285,7 +285,7 @@
"description": "uuid for the IPA domain.",
"required": true,
"schema": {
"type": "string"
"$ref": "#/components/schemas/DomainId"
},
"examples": {
"uuid": {
Expand Down Expand Up @@ -361,7 +361,7 @@
"description": "uuid for the IPA domain.",
"required": true,
"schema": {
"type": "string"
"$ref": "#/components/schemas/DomainId"
},
"examples": {
"uuid": {
Expand Down
6 changes: 3 additions & 3 deletions public.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"'
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2ea8f65

Please sign in to comment.