Skip to content

Commit

Permalink
Merge pull request #18 from City-of-Turku/fix/operator-event-parking-…
Browse files Browse the repository at this point in the history
…documentation

Operator documentation, fix event_area_id in event_parking request bodies
  • Loading branch information
juuso-j authored Jun 4, 2024
2 parents 68c87da + 1a08996 commit 760771b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/api/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ components:
description: The ID of the event area the event parking is assigned to
type: string
format: uuid
readOnly: true
required:
- registration_number
- time_start
Expand Down Expand Up @@ -699,14 +698,14 @@ paths:
<< : *eventParkingTimeEnd
domain:
<< : *eventParkingDomain
event_area_id:
<< : *eventParkingEventAreaID
required:
- registration_number
- time_start
oneOf:
- required:
- location
- required:
- event_area_id
- required: [event_area_id]
- required: [location]
responses:
'201':
description: The event parking was created successfully
Expand Down

0 comments on commit 760771b

Please sign in to comment.