Skip to content

Scheduling infrastructure for absolutely everyone.

docs: v2 disabled input (#24071)

Lauris Skraucis6c9ac7636b50
diff --git a/docs/api-reference/v2/openapi.json b/docs/api-reference/v2/openapi.json
index 1f80a4bd229..c9d4b6a5848 100644
--- a/docs/api-reference/v2/openapi.json
+++ b/docs/api-reference/v2/openapi.json
@@ -15283,9 +15283,8 @@
"properties": {
"disabled": {
"type": "boolean",
- "description": "Indicates if the option is disabled",
- "example": true,
- "default": false
+ "description": "Only acceptable value for the `disabled` property is `true`. It is used to reset the value of the property for which previously an object containing specific settings was passed.",
+ "example": true
}
},
"required": ["disabled"]
diff --git a/packages/platform/types/event-types/event-types_2024_06_14/inputs/disabled.input.ts b/packages/platform/types/event-types/event-types_2024_06_14/inputs/disabled.input.ts
index f5eb48e2136..97570fff48a 100644
--- a/packages/platform/types/event-types/event-types_2024_06_14/inputs/disabled.input.ts
+++ b/packages/platform/types/event-types/event-types_2024_06_14/inputs/disabled.input.ts
@@ -5,9 +5,9 @@ export class Disabled_2024_06_14 {
@IsOptional()
@IsBoolean()
@ApiProperty({
- description: "Indicates if the option is disabled",
+ description:
+ "Only acceptable value for the `disabled` property is `true`. It is used to reset the value of the property for which previously an object containing specific settings was passed.",
example: true,
- default: false,
})
disabled!: true;
}