front_foundation #9
@ -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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user