Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
203 changes: 107 additions & 96 deletions internal/service/alarms/api/generated/alarms.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 19 additions & 2 deletions internal/service/alarms/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ paths:
content:
application/merge-patch+json:
schema:
$ref: '#/components/schemas/AlarmServiceConfiguration'
$ref: '#/components/schemas/AlarmServiceConfigurationPatch'
responses:
'200':
description: Successful response.
Expand Down Expand Up @@ -781,7 +781,7 @@ components:
type: integer
description: |
Number of days for alarm history to be retained.
This value has cannot be set lower than 1 (day).
This value cannot be set lower than 1 (day).
example: 30
extensions:
type: object
Expand All @@ -790,6 +790,23 @@ components:
description: List of metadata key-value pairs used to associate meaningful metadata to the related alarm service
required:
- retentionPeriod
- extensions

AlarmServiceConfigurationPatch:
type: object
description: Schema for PATCH requests allowing partial updates to AlarmServiceConfiguration
properties:
retentionPeriod:
type: integer
description: |
Number of days for alarm history to be retained.
This value cannot be set lower than 1 (day).
example: 30
extensions:
type: object
additionalProperties:
type: string
description: List of metadata key-value pairs used to associate meaningful metadata to the related alarm service

AlarmSubscriptionInfo:
type: object
Expand Down
Loading