Skip to content

Commit

Permalink
date is actually date-time
Browse files Browse the repository at this point in the history
  • Loading branch information
philsturgeon committed Feb 2, 2024
1 parent c790745 commit 0245bb2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions paths/trips.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ get:
example: b2e783e1-c824-4d63-b37a-d8d698862f1d
- name: date
in: query
description: The date of the trip (YYYY-MM-DD)
description: The date and time of the trip in ISO 8601 format in origin station's timezone.
required: true
schema:
type: string
format: date
format: date-time
- name: bicycles
in: query
description: Indicates whether bicycles are allowed on the trip
Expand Down Expand Up @@ -61,18 +61,18 @@ get:
- $ref: ../components/schemas/Links-Pagination.yaml
example:
data:
- id: efdbb9d1-02c2-4bc3-afb7-6788d8782b1e
origin: Berlin Hauptbahnhof
destination: Paris Gare du Nord
- id: ea399ba1-6d95-433f-92d1-83f67b775594
origin: efdbb9d1-02c2-4bc3-afb7-6788d8782b1e
destination: b2e783e1-c824-4d63-b37a-d8d698862f1d
departure_time: '2024-02-01T10:00:00Z'
arrival_time: '2024-02-01T16:00:00Z'
price: 50
operator: Deutsche Bahn
bicycles_allowed: true
dogs_allowed: true
- id: b2e783e1-c824-4d63-b37a-d8d698862f1d
origin: Paris Gare du Nord
destination: Berlin Hauptbahnhof
- id: 4d67459c-af07-40bb-bb12-178dbb88e09f
origin: b2e783e1-c824-4d63-b37a-d8d698862f1d
destination: efdbb9d1-02c2-4bc3-afb7-6788d8782b1e
departure_time: '2024-02-01T12:00:00Z'
arrival_time: '2024-02-01T18:00:00Z'
price: 50
Expand Down

0 comments on commit 0245bb2

Please sign in to comment.