From e9768269eb48e3677930c2c047dd5b49bfd1b595 Mon Sep 17 00:00:00 2001 From: juuso-j <68938778+juuso-j@users.noreply.github.com> Date: Wed, 3 Jul 2024 09:33:17 +0300 Subject: [PATCH] fix event_area/id/ --- docs/api/public.yaml | 63 +++++++++++++++----------------------------- 1 file changed, 21 insertions(+), 42 deletions(-) diff --git a/docs/api/public.yaml b/docs/api/public.yaml index 88ef48ba..0a99fa18 100644 --- a/docs/api/public.yaml +++ b/docs/api/public.yaml @@ -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' @@ -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 @@ -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: