Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/event area id documentation #22

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 21 additions & 42 deletions docs/api/public.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,25 +117,6 @@ paths:
description: The requested event area
schema:
$ref: '#/definitions/EventArea'
examples:
application/json:
id: f27f4cde-f979-470c-9f4e-78e4a8eb0eb4
type: Feature
geometry:
type: MultiPolygon
coordinates:
- - - - 24.948941061040355
- 60.17185685528542
- - 24.948979056682155
- 60.17185759162991
- - 24.948964412438333
- 60.17196642313501
- - 24.948929209240834
- 60.17196510701679
- - 24.948941061040355
- 60.17185685528542
properties:
capacity_estimate: 2
404:
$ref: '#/responses/NotFound'

Expand Down Expand Up @@ -496,9 +477,9 @@ definitions:
format: dateTime

TimeEnd:
description: End time for the parking
type: string
format: dateTime
description: End time for the parking
type: string
format: dateTime

ParkingArea:
type: object
Expand Down Expand Up @@ -573,26 +554,24 @@ definitions:
]
properties:
capacity_estimate: 2
time_start:
$ref: '#/definitions/TimeStart'
time_end:
$ref: '#/definitions/TimeEnd'
price: "0.10"
price_unit_length: 1
bus_stop_numbers: [
434,
535,
324
]
time_period_time_start: "10:00:00"
time_period_time_end: "17:00:00"
time_period_days_of_week: [
1,
2,
3,
4,
5
]
time_start: "2023-12-05T06:35:26Z"
time_end: "2023-12-31T06:35:32Z"
price: "0.10"
price_unit_length: 1
bus_stop_numbers: [
434,
535,
324
]
time_period_time_start: "10:00:00"
time_period_time_end: "17:00:00"
time_period_days_of_week: [
1,
2,
3,
4,
5
]


ParkingAreaStatistics:
Expand Down
Loading