From 82d2307719934f114d95102db51ad3c35fcb40c8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 9 Jun 2026 20:03:08 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/Shotstack.EditClient.PostRender.g.cs | 2 +- .../Generated/Shotstack.IEditClient.PostRender.g.cs | 2 +- src/libs/Shotstack/Generated/Shotstack.Models.Edit.g.cs | 4 ++-- src/libs/Shotstack/Generated/Shotstack.Models.Output.g.cs | 6 +++--- .../Generated/Shotstack.Models.OutputResolution.g.cs | 2 +- src/libs/Shotstack/openapi.json | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/libs/Shotstack/Generated/Shotstack.EditClient.PostRender.g.cs b/src/libs/Shotstack/Generated/Shotstack.EditClient.PostRender.g.cs index 396f97c..cbd1a20 100644 --- a/src/libs/Shotstack/Generated/Shotstack.EditClient.PostRender.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.EditClient.PostRender.g.cs @@ -461,7 +461,7 @@ partial void ProcessPostRenderResponseContent( /// A timeline represents the contents of a video edit over time, an audio edit over time, in seconds, or an image layout. A timeline consists of layers called tracks. Tracks are composed of titles, images, audio, html or video segments referred to as clips which are placed along the track at specific starting point and lasting for a specific amount of time. /// /// - /// The output format, render range and type of media to generate. + /// The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified. /// /// /// An array of key/value pairs that provides an easy way to create templates with placeholders. The placeholders can be used to find and replace keys with values. For example you can search for the placeholder `{{NAME}}` and replace it with the value `Jane`. diff --git a/src/libs/Shotstack/Generated/Shotstack.IEditClient.PostRender.g.cs b/src/libs/Shotstack/Generated/Shotstack.IEditClient.PostRender.g.cs index 4ea2443..641e9f9 100644 --- a/src/libs/Shotstack/Generated/Shotstack.IEditClient.PostRender.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.IEditClient.PostRender.g.cs @@ -73,7 +73,7 @@ public partial interface IEditClient /// A timeline represents the contents of a video edit over time, an audio edit over time, in seconds, or an image layout. A timeline consists of layers called tracks. Tracks are composed of titles, images, audio, html or video segments referred to as clips which are placed along the track at specific starting point and lasting for a specific amount of time. /// /// - /// The output format, render range and type of media to generate. + /// The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified. /// /// /// An array of key/value pairs that provides an easy way to create templates with placeholders. The placeholders can be used to find and replace keys with values. For example you can search for the placeholder `{{NAME}}` and replace it with the value `Jane`. diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Edit.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Edit.g.cs index 401326f..97d2260 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Edit.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Edit.g.cs @@ -18,7 +18,7 @@ public sealed partial class Edit public required global::Shotstack.Timeline Timeline { get; set; } /// - /// The output format, render range and type of media to generate. + /// The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified. /// [global::System.Text.Json.Serialization.JsonPropertyName("output")] [global::System.Text.Json.Serialization.JsonRequired] @@ -77,7 +77,7 @@ public sealed partial class Edit /// A timeline represents the contents of a video edit over time, an audio edit over time, in seconds, or an image layout. A timeline consists of layers called tracks. Tracks are composed of titles, images, audio, html or video segments referred to as clips which are placed along the track at specific starting point and lasting for a specific amount of time. /// /// - /// The output format, render range and type of media to generate. + /// The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified. /// /// /// An array of key/value pairs that provides an easy way to create templates with placeholders. The placeholders can be used to find and replace keys with values. For example you can search for the placeholder `{{NAME}}` and replace it with the value `Jane`. diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Output.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Output.g.cs index b788c58..7af9b5d 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Output.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Output.g.cs @@ -4,7 +4,7 @@ namespace Shotstack { /// - /// The output format, render range and type of media to generate. + /// The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified. /// public sealed partial class Output { @@ -26,7 +26,7 @@ public sealed partial class Output public required global::Shotstack.OutputFormat Format { get; set; } /// - /// The preset output resolution of the video or image. For custom sizes use the `size` property. <ul>
+ /// The preset output resolution of the video or image. For custom sizes use the `size` property. Either `resolution` or `size` (with both `width` and `height`) must be specified for all formats except `mp3`. <ul>
/// <li>`preview` - 512px x 288px @ 15fps</li>
/// <li>`mobile` - 640px x 360px @ 25fps</li>
/// <li>`sd` - 1024px x 576px @ 25fps</li>
@@ -171,7 +171,7 @@ public sealed partial class Output /// Example: mp4 /// /// - /// The preset output resolution of the video or image. For custom sizes use the `size` property. <ul>
+ /// The preset output resolution of the video or image. For custom sizes use the `size` property. Either `resolution` or `size` (with both `width` and `height`) must be specified for all formats except `mp3`. <ul>
/// <li>`preview` - 512px x 288px @ 15fps</li>
/// <li>`mobile` - 640px x 360px @ 25fps</li>
/// <li>`sd` - 1024px x 576px @ 25fps</li>
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.OutputResolution.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.OutputResolution.g.cs index 792c815..c1464f2 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.OutputResolution.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.OutputResolution.g.cs @@ -4,7 +4,7 @@ namespace Shotstack { /// - /// The preset output resolution of the video or image. For custom sizes use the `size` property. <ul>
+ /// The preset output resolution of the video or image. For custom sizes use the `size` property. Either `resolution` or `size` (with both `width` and `height`) must be specified for all formats except `mp3`. <ul>
/// <li>`preview` - 512px x 288px @ 15fps</li>
/// <li>`mobile` - 640px x 360px @ 25fps</li>
/// <li>`sd` - 1024px x 576px @ 25fps</li>
diff --git a/src/libs/Shotstack/openapi.json b/src/libs/Shotstack/openapi.json index 52a9f36..dcbc074 100644 --- a/src/libs/Shotstack/openapi.json +++ b/src/libs/Shotstack/openapi.json @@ -3313,7 +3313,7 @@ ] }, "Output": { - "description": "The output format, render range and type of media to generate.", + "description": "The output format, render range and type of media to generate. For all formats except `mp3`, either `resolution` or `size` (with both `width` and `height`) must be specified.", "properties": { "format": { "description": "The output format and type of media file to generate.
    \n
  • `mp4` - mp4 video file
  • \n
  • `gif` - animated gif
  • \n
  • `jpg` - jpg image file
  • \n
  • `png` - png image file
  • \n
  • `bmp` - bmp image file
  • \n
  • `mp3` - mp3 audio file (audio only)
  • \n
", @@ -3329,7 +3329,7 @@ "example": "mp4" }, "resolution": { - "description": "The preset output resolution of the video or image. For custom sizes use the `size` property.
    \n
  • `preview` - 512px x 288px @ 15fps
  • \n
  • `mobile` - 640px x 360px @ 25fps
  • \n
  • `sd` - 1024px x 576px @ 25fps
  • \n
  • `hd` - 1280px x 720px @ 25fps
  • \n
  • `1080` - 1920px x 1080px @ 25fps
  • \n
  • `4k` - 3840px x 2160px @ 25fps
  • \n
", + "description": "The preset output resolution of the video or image. For custom sizes use the `size` property. Either `resolution` or `size` (with both `width` and `height`) must be specified for all formats except `mp3`.
    \n
  • `preview` - 512px x 288px @ 15fps
  • \n
  • `mobile` - 640px x 360px @ 25fps
  • \n
  • `sd` - 1024px x 576px @ 25fps
  • \n
  • `hd` - 1280px x 720px @ 25fps
  • \n
  • `1080` - 1920px x 1080px @ 25fps
  • \n
  • `4k` - 3840px x 2160px @ 25fps
  • \n
", "enum": [ "preview", "mobile",