From 1a08996e27526908368dafebb8be91ba70cd0ee7 Mon Sep 17 00:00:00 2001 From: juuso-j <68938778+juuso-j@users.noreply.github.com> Date: Tue, 4 Jun 2024 09:43:13 +0300 Subject: [PATCH] Fix event_area_id in event_parking request bodies --- docs/api/operator.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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