From 6c9ac7636b50c02f658eb3971124532cf7d66ba5 Mon Sep 17 00:00:00 2001 From: Lauris Skraucis Date: Fri, 26 Sep 2025 20:23:21 +0200 Subject: [PATCH] docs: v2 disabled input (#24071) * docs: v2 disabled input * Delete apps/api/v2/swagger/documentation.json --- docs/api-reference/v2/openapi.json | 5 ++--- .../event-types_2024_06_14/inputs/disabled.input.ts | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/api-reference/v2/openapi.json b/docs/api-reference/v2/openapi.json index 1f80a4bd22..c9d4b6a584 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 f5eb48e213..97570fff48 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; }