backend-test #10

Open
piair wants to merge 51 commits from backend-test into main
Showing only changes of commit b8c7c6f587 - Show all commits

View File

@ -174,21 +174,10 @@ paths:
application/json: application/json:
schema: schema:
$ref: "./main.yaml#/components/schemas/appointment" # Assuming request uses same model structure $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 # Potentially add projectId or targetUserId here
responses: responses:
"202": # Accepted seems appropriate for a request "202": # Accepted seems appropriate for a request
description: Accepted - Appointment request submitted. description: Accepted - Appointment request submitted.
content:
application/json: # Optionally return the pending appointment data
schema:
$ref: "./main.yaml#/components/schemas/appointment"
"400": "400":
description: Bad Request - Invalid appointment details. description: Bad Request - Invalid appointment details.