Skip to content

Commit

Permalink
OpenAPI docs: fixed "connectionStatus" type of "Connection" in OpenAP…
Browse files Browse the repository at this point in the history
…I definition

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed Oct 11, 2022
1 parent bbabfa9 commit 65020de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions documentation/src/main/resources/openapi/ditto-api-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8095,7 +8095,7 @@ components:
randomizationInterval:
type: string
default: 5m
description: 'Interval in which the announcement can be sent earlier in effort to prevent announcement peaks. If omitted, the default value will be applied. If set to minimum, no randomization will be applied.'
description: 'Interval in which the announcement can be sent earlier than the configured `beforeExpiry`. The actual point in time when the announcement will be sent is `beforeExpire` plus a randomly chosen time within the `randomizationInterval`. E.g assuming `beforeExpiry` is set to 5m and `randomizationInterval` is set to 1m, the announcements will be sent between 5 and 6 minutes before the subject expires. If omitted, the default value will be applied. If set to minimum, no randomization will be applied.'
example:
beforeExpiry: 5m
whenDeleted: true
Expand Down Expand Up @@ -8130,7 +8130,7 @@ components:
connectionType:
$ref: '#/components/schemas/ConnectionType'
connectionStatus:
$ref: '#/components/schemas/ConnectionStatus'
$ref: '#/components/schemas/ConnectivityStatus'
uri:
type: string
description: The URI of the connection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ properties:
connectionType:
$ref: 'connectionType.yml'
connectionStatus:
$ref: 'connectionStatus.yml'
$ref: 'connectivityStatus.yml'
uri:
type: string
description: The URI of the connection
Expand Down

0 comments on commit 65020de

Please sign in to comment.