Skip to content

Commit e293fc1

Browse files
committed
Update the documentation
1 parent 5442b2a commit e293fc1

3 files changed

Lines changed: 29 additions & 0 deletions

File tree

apps/api/v2/src/modules/organizations/routing-forms/controllers/organizations-routing-forms-responses.controller.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@ export class OrganizationsRoutingFormsResponsesController {
103103
}
104104

105105
@Post("/")
106+
@ApiHeader({
107+
name: "cal-api-version",
108+
description: `Must be set to ${VERSION_2025_07_11}`,
109+
example: VERSION_2025_07_11,
110+
required: true,
111+
schema: {
112+
default: VERSION_2025_07_11,
113+
},
114+
})
106115
@Version(VERSION_2025_07_11)
107116
@ApiOperation({ summary: "Create routing form response and get available slots" })
108117
@Roles("ORG_ADMIN")

apps/api/v2/swagger/documentation.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2645,6 +2645,16 @@
26452645
"schema": {
26462646
"type": "boolean"
26472647
}
2648+
},
2649+
{
2650+
"name": "cal-api-version",
2651+
"in": "header",
2652+
"description": "Must be set to 2025-07-11",
2653+
"required": true,
2654+
"schema": {
2655+
"type": "string",
2656+
"default": "2025-07-11"
2657+
}
26482658
}
26492659
],
26502660
"responses": {

docs/api-reference/v2/openapi.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2645,6 +2645,16 @@
26452645
"schema": {
26462646
"type": "boolean"
26472647
}
2648+
},
2649+
{
2650+
"name": "cal-api-version",
2651+
"in": "header",
2652+
"description": "Must be set to 2025-07-11",
2653+
"required": true,
2654+
"schema": {
2655+
"type": "string",
2656+
"default": "2025-07-11"
2657+
}
26482658
}
26492659
],
26502660
"responses": {

0 commit comments

Comments
 (0)