Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/libs/Shotstack/Generated/Shotstack.Models.Html5Asset.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed partial class Html5Asset
public global::Shotstack.Html5AssetType Type { get; set; } = global::Shotstack.Html5AssetType.Html5;

/// <summary>
/// The HTML markup for the asset.<br/>
/// The HTML markup for the asset. Max 1,000,000 characters.<br/>
/// Example: &lt;div class='card'&gt;&lt;h1&gt;{{title}}&lt;/h1&gt;&lt;/div&gt;
/// </summary>
/// <example>&lt;div class='card'&gt;&lt;h1&gt;{{title}}&lt;/h1&gt;&lt;/div&gt;</example>
Expand All @@ -27,15 +27,15 @@ public sealed partial class Html5Asset
public required string Html { get; set; }

/// <summary>
/// The CSS string applied to the HTML.<br/>
/// The CSS string applied to the HTML. Max 500,000 characters.<br/>
/// Example: .card { font-family: 'Inter'; padding: 32px; }
/// </summary>
/// <example>.card { font-family: 'Inter'; padding: 32px; }</example>
[global::System.Text.Json.Serialization.JsonPropertyName("css")]
public string? Css { get; set; }

/// <summary>
/// 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.<br/>
/// 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.<br/>
/// Example: gsap.to('.card', { x: 200, duration: 1 });
/// </summary>
/// <example>gsap.to('.card', { x: 200, duration: 1 });</example>
Expand All @@ -52,15 +52,15 @@ public sealed partial class Html5Asset
/// Initializes a new instance of the <see cref="Html5Asset" /> class.
/// </summary>
/// <param name="html">
/// The HTML markup for the asset.<br/>
/// The HTML markup for the asset. Max 1,000,000 characters.<br/>
/// Example: &lt;div class='card'&gt;&lt;h1&gt;{{title}}&lt;/h1&gt;&lt;/div&gt;
/// </param>
/// <param name="css">
/// The CSS string applied to the HTML.<br/>
/// The CSS string applied to the HTML. Max 500,000 characters.<br/>
/// Example: .card { font-family: 'Inter'; padding: 32px; }
/// </param>
/// <param name="js">
/// 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.<br/>
/// 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.<br/>
/// Example: gsap.to('.card', { x: 200, duration: 1 });
/// </param>
/// <param name="type">
Expand Down
9 changes: 6 additions & 3 deletions src/libs/Shotstack/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "<div class='card'><h1>{{title}}</h1></div>"
},
"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 });"
}
},
Expand Down