Skip to content

Commit

Permalink
chore: Update openapi.yml to add required fields in schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmedhossamdev committed Jul 31, 2024
1 parent 1443fe5 commit 5205b4a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -677,10 +677,11 @@ components:
type: boolean
entry:
$ref: '#/components/schemas/Agency'

references:
$ref: '#/components/schemas/Reference'

required:
- entry
- references
CoverageResponse:
type: object
properties:
Expand All @@ -692,6 +693,9 @@ components:
$ref: '#/components/schemas/Coverage'
references:
$ref: '#/components/schemas/Reference'
required:
- list
- references

CurrentTime:
type: object
Expand All @@ -708,6 +712,9 @@ components:
$ref: '#/components/schemas/CurrentTime'
references:
$ref: '#/components/schemas/Reference'
required:
- entry
- references

ResponseWrapper:
type: object
Expand Down Expand Up @@ -1044,6 +1051,9 @@ components:
$ref: '#/components/schemas/Config'
references:
$ref: '#/components/schemas/Reference'
required:
- entry
- references

StopsForLocation:
type: object
Expand Down

0 comments on commit 5205b4a

Please sign in to comment.