Skip to content

Commit

Permalink
Merge pull request #172 from trolie/bugfix-require-durations
Browse files Browse the repository at this point in the history
BUGFIX: make required fields.... required
  • Loading branch information
getorymckeag authored Oct 4, 2024
2 parents f2529b2 + 632832b commit b2a931e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docs/_data/components/schemas/array-max-emergency-durations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ emergency-durations: &max
format: int32
minimum: 0
maximum: 1440

required:
- name
- duration-minutes

limit-value-set:
<<: *max
Expand All @@ -35,6 +37,9 @@ limit-value-set:
type: object
description: Operating Limit
properties:
duration-name: *emergency-kind-name
limit:
$ref: ./limit.yaml
duration-name: *emergency-kind-name
limit:
$ref: ./limit.yaml
required:
- duration-name
- limit

0 comments on commit b2a931e

Please sign in to comment.