Skip to content

Commit

Permalink
fix: make period a required field for uptime alert (#828)
Browse files Browse the repository at this point in the history
* fix: make period a required field for uptime alert

* fix: set required fields for update uptime alert
  • Loading branch information
mikesmithgh authored Oct 9, 2023
1 parent a5a2b6a commit f4200bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions specification/resources/uptime/create_alert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ requestBody:
- name
- type
- notifications
- period

responses:
'201':
Expand Down
6 changes: 6 additions & 0 deletions specification/resources/uptime/update_alert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ requestBody:
allOf:
- $ref: 'models/alert.yml#/alert_updatable'

required:
- name
- type
- notifications
- period

responses:
'200':
$ref: 'responses/existing_alert.yml'
Expand Down

0 comments on commit f4200bf

Please sign in to comment.