From 1c5a17bf81214c1421be7417f9fda2cab930969d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 18 May 2026 19:40:42 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/Shotstack.Models.Html5Asset.g.cs | 12 ++++++------ src/libs/Shotstack/openapi.json | 9 ++++++--- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Html5Asset.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Html5Asset.g.cs index f2319a6..5072b85 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Html5Asset.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Html5Asset.g.cs @@ -18,7 +18,7 @@ public sealed partial class Html5Asset public global::Shotstack.Html5AssetType Type { get; set; } = global::Shotstack.Html5AssetType.Html5; /// - /// The HTML markup for the asset.
+ /// The HTML markup for the asset. Max 1,000,000 characters.
/// Example: <div class='card'><h1>{{title}}</h1></div> ///
/// <div class='card'><h1>{{title}}</h1></div> @@ -27,7 +27,7 @@ public sealed partial class Html5Asset public required string Html { get; set; } /// - /// The CSS string applied to the HTML.
+ /// The CSS string applied to the HTML. Max 500,000 characters.
/// Example: .card { font-family: 'Inter'; padding: 32px; } ///
/// .card { font-family: 'Inter'; padding: 32px; } @@ -35,7 +35,7 @@ public sealed partial class Html5Asset public string? Css { get; set; } /// - /// Optional JavaScript. Use for chart libraries, animations, or DOM manipulation. `gsap`, `d3`, `anime` and `lottie` are always available. CSS animations, transitions, and `Element.animate()` are also captured automatically.
+ /// Optional JavaScript. Use for chart libraries, animations, or DOM manipulation. `gsap`, `d3`, `anime` and `lottie` are always available. CSS animations, transitions, and `Element.animate()` are also captured automatically. Max 500,000 characters.
/// Example: gsap.to('.card', { x: 200, duration: 1 }); ///
/// gsap.to('.card', { x: 200, duration: 1 }); @@ -52,15 +52,15 @@ public sealed partial class Html5Asset /// Initializes a new instance of the class. /// /// - /// The HTML markup for the asset.
+ /// The HTML markup for the asset. Max 1,000,000 characters.
/// Example: <div class='card'><h1>{{title}}</h1></div> /// /// - /// The CSS string applied to the HTML.
+ /// The CSS string applied to the HTML. Max 500,000 characters.
/// Example: .card { font-family: 'Inter'; padding: 32px; } /// /// - /// Optional JavaScript. Use for chart libraries, animations, or DOM manipulation. `gsap`, `d3`, `anime` and `lottie` are always available. CSS animations, transitions, and `Element.animate()` are also captured automatically.
+ /// Optional JavaScript. Use for chart libraries, animations, or DOM manipulation. `gsap`, `d3`, `anime` and `lottie` are always available. CSS animations, transitions, and `Element.animate()` are also captured automatically. Max 500,000 characters.
/// Example: gsap.to('.card', { x: 200, duration: 1 }); /// /// diff --git a/src/libs/Shotstack/openapi.json b/src/libs/Shotstack/openapi.json index 294f959..56c6b1b 100644 --- a/src/libs/Shotstack/openapi.json +++ b/src/libs/Shotstack/openapi.json @@ -2124,18 +2124,21 @@ "type": "string" }, "html": { - "description": "The HTML markup for the asset.", + "description": "The HTML markup for the asset. Max 1,000,000 characters.", "type": "string", + "maxLength": 1000000, "example": "

{{title}}

" }, "css": { - "description": "The CSS string applied to the HTML.", + "description": "The CSS string applied to the HTML. Max 500,000 characters.", "type": "string", + "maxLength": 500000, "example": ".card { font-family: 'Inter'; padding: 32px; }" }, "js": { - "description": "Optional JavaScript. Use for chart libraries, animations, or DOM manipulation. `gsap`, `d3`, `anime` and `lottie` are always available. CSS animations, transitions, and `Element.animate()` are also captured automatically.\n", + "description": "Optional JavaScript. Use for chart libraries, animations, or DOM manipulation. `gsap`, `d3`, `anime` and `lottie` are always available. CSS animations, transitions, and `Element.animate()` are also captured automatically. Max 500,000 characters.\n", "type": "string", + "maxLength": 500000, "example": "gsap.to('.card', { x: 200, duration: 1 });" } },