Skip to content

Commit 5205b4a

Browse files
chore: Update openapi.yml to add required fields in schemas
1 parent 1443fe5 commit 5205b4a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

openapi.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,10 +677,11 @@ components:
677677
type: boolean
678678
entry:
679679
$ref: '#/components/schemas/Agency'
680-
681680
references:
682681
$ref: '#/components/schemas/Reference'
683-
682+
required:
683+
- entry
684+
- references
684685
CoverageResponse:
685686
type: object
686687
properties:
@@ -692,6 +693,9 @@ components:
692693
$ref: '#/components/schemas/Coverage'
693694
references:
694695
$ref: '#/components/schemas/Reference'
696+
required:
697+
- list
698+
- references
695699

696700
CurrentTime:
697701
type: object
@@ -708,6 +712,9 @@ components:
708712
$ref: '#/components/schemas/CurrentTime'
709713
references:
710714
$ref: '#/components/schemas/Reference'
715+
required:
716+
- entry
717+
- references
711718

712719
ResponseWrapper:
713720
type: object
@@ -1044,6 +1051,9 @@ components:
10441051
$ref: '#/components/schemas/Config'
10451052
references:
10461053
$ref: '#/components/schemas/Reference'
1054+
required:
1055+
- entry
1056+
- references
10471057

10481058
StopsForLocation:
10491059
type: object

0 commit comments

Comments
 (0)