From b5dd7e8cea9dc3e0cdb470cc012bc4a6ce5ebeb8 Mon Sep 17 00:00:00 2001 From: Kratos2k7 Date: Thu, 2 Apr 2026 02:32:30 +0500 Subject: [PATCH] fix: remove unused SVG shape properties and update nullable types in destination options --- api.oas3.yaml | 59 ------------------- .../akamaiNetStorageDestinationOptions.yaml | 10 ++-- .../azureBlobStorageDestinationOptions.yaml | 10 ++-- 3 files changed, 8 insertions(+), 71 deletions(-) diff --git a/api.oas3.yaml b/api.oas3.yaml index d4b1f2a..d55b0a3 100644 --- a/api.oas3.yaml +++ b/api.oas3.yaml @@ -189,65 +189,6 @@ components: SvgAsset: $ref: "./schemas/svgasset.yaml#/SvgAsset" - SvgShape: - $ref: "./schemas/svgshapes.yaml#/SvgShape" - - SvgRectangleShape: - $ref: "./schemas/svgshapes.yaml#/SvgRectangleShape" - - SvgCircleShape: - $ref: "./schemas/svgshapes.yaml#/SvgCircleShape" - - SvgEllipseShape: - $ref: "./schemas/svgshapes.yaml#/SvgEllipseShape" - - SvgLineShape: - $ref: "./schemas/svgshapes.yaml#/SvgLineShape" - - SvgPolygonShape: - $ref: "./schemas/svgshapes.yaml#/SvgPolygonShape" - - SvgStarShape: - $ref: "./schemas/svgshapes.yaml#/SvgStarShape" - - SvgArrowShape: - $ref: "./schemas/svgshapes.yaml#/SvgArrowShape" - - SvgHeartShape: - $ref: "./schemas/svgshapes.yaml#/SvgHeartShape" - - SvgCrossShape: - $ref: "./schemas/svgshapes.yaml#/SvgCrossShape" - - SvgRingShape: - $ref: "./schemas/svgshapes.yaml#/SvgRingShape" - - SvgPathShape: - $ref: "./schemas/svgshapes.yaml#/SvgPathShape" - - SvgFill: - $ref: "./schemas/svgproperties.yaml#/SvgFill" - - SvgSolidFill: - $ref: "./schemas/svgproperties.yaml#/SvgSolidFill" - - SvgLinearGradientFill: - $ref: "./schemas/svgproperties.yaml#/SvgLinearGradientFill" - - SvgRadialGradientFill: - $ref: "./schemas/svgproperties.yaml#/SvgRadialGradientFill" - - SvgGradientStop: - $ref: "./schemas/svgproperties.yaml#/SvgGradientStop" - - SvgStroke: - $ref: "./schemas/svgproperties.yaml#/SvgStroke" - - SvgShadow: - $ref: "./schemas/svgproperties.yaml#/SvgShadow" - - SvgTransform: - $ref: "./schemas/svgproperties.yaml#/SvgTransform" Transition: $ref: "./schemas/transition.yaml#/Transition" diff --git a/schemas/destinations/akamaiNetStorageDestinationOptions.yaml b/schemas/destinations/akamaiNetStorageDestinationOptions.yaml index 07805cc..8df1f84 100644 --- a/schemas/destinations/akamaiNetStorageDestinationOptions.yaml +++ b/schemas/destinations/akamaiNetStorageDestinationOptions.yaml @@ -15,18 +15,16 @@ path: description: >- A remote directory path/prefix for the file being sent, i.e. `videos` or `customerId/videos`. - type: - - string - - "null" + type: string + nullable: true example: videos filename: description: >- Use your own filename instead of the default filenames generated by Shotstack. Note: omit the file extension as this will be appended depending on the output format. Also `-poster.jpg` and `-thumb.jpg` will be appended for poster and thumbnail images. - type: - - string - - "null" + type: string + nullable: true example: my-file required: - host diff --git a/schemas/destinations/azureBlobStorageDestinationOptions.yaml b/schemas/destinations/azureBlobStorageDestinationOptions.yaml index 5079684..fd62770 100644 --- a/schemas/destinations/azureBlobStorageDestinationOptions.yaml +++ b/schemas/destinations/azureBlobStorageDestinationOptions.yaml @@ -15,18 +15,16 @@ prefix: description: >- A virtual directory prefix for the blob being sent, i.e. `videos` or `customerId/videos`. - type: - - string - - "null" + type: string + nullable: true example: videos filename: description: >- Use your own filename instead of the default filenames generated by Shotstack. Note: omit the file extension as this will be appended depending on the output format. Also `-poster.jpg` and `-thumb.jpg` will be appended for poster and thumbnail images. - type: - - string - - "null" + type: string + nullable: true example: my-file required: - accountName