From b8c7c6f587ad9ca86bb544c3e7eb537c36004ef3 Mon Sep 17 00:00:00 2001 From: MAILLAL Anas Date: Wed, 23 Apr 2025 12:03:53 +0200 Subject: [PATCH] feat: spotted some responses on post requests I forgot to remove --- documentation/openapi/src/sharedApi.yaml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/documentation/openapi/src/sharedApi.yaml b/documentation/openapi/src/sharedApi.yaml index 59108b7..e7d31d3 100644 --- a/documentation/openapi/src/sharedApi.yaml +++ b/documentation/openapi/src/sharedApi.yaml @@ -174,21 +174,10 @@ paths: application/json: schema: $ref: "./main.yaml#/components/schemas/appointment" # Assuming request uses same model structure - example: - value: - appointmentDate: "2025-06-01" - appointmentTime: "10:00:00" - appointmentDuration: "PT1H" - appointmentPlace: "Online" - appointmentSubject: "Follow-up on prototype" # Potentially add projectId or targetUserId here responses: "202": # Accepted seems appropriate for a request description: Accepted - Appointment request submitted. - content: - application/json: # Optionally return the pending appointment data - schema: - $ref: "./main.yaml#/components/schemas/appointment" "400": description: Bad Request - Invalid appointment details.