Skip to content

Commit

Permalink
[skip ci] Update requests schemas in Swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
gustawlippa committed Sep 6, 2021
1 parent 2581ec5 commit a9f485b
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions doc/rest-api/Dynamic-domains_swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ paths:
description: The host type of the domain.
required: true
schema:
type: string
title: host_type
type: object
properties:
host_type:
example: "type1"
type: string
responses:
204:
description: Domain was successfully inserted.
Expand All @@ -56,7 +61,12 @@ paths:
description: Whether to enable or to disable a domain.
required: true
schema:
type: boolean
title: Enabled
type: object
properties:
enabled:
example: true
type: boolean
responses:
204:
description: Domain was sucessfully updated.
Expand Down Expand Up @@ -94,7 +104,12 @@ paths:
description: The host type of the domain.
required: true
schema:
type: string
title: host_type
type: object
properties:
host_type:
example: "type1"
type: string
responses:
204:
description: "The domain is removed or not found."
Expand Down

0 comments on commit a9f485b

Please sign in to comment.