diff --git a/docs/api/operator.yaml b/docs/api/operator.yaml index a002ac52..530a2376 100644 --- a/docs/api/operator.yaml +++ b/docs/api/operator.yaml @@ -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 @@ -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