Skip to content

Commit 816f25f

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#118)
Co-authored-by: github-actions[bot] <dependabot@bot.com>
1 parent c061101 commit 816f25f

4 files changed

Lines changed: 16 additions & 16 deletions

src/libs/Firecrawl/Generated/Firecrawl.Models.ScrapeOptionsActionClick.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ public sealed partial class ScrapeOptionsActionClick
4040
/// <summary>
4141
/// Initializes a new instance of the <see cref="ScrapeOptionsActionClick" /> class.
4242
/// </summary>
43-
/// <param name="type">
44-
/// Click on an element
45-
/// </param>
4643
/// <param name="selector">
4744
/// Query selector to find the element by<br/>
4845
/// Example: #load-more-button
4946
/// </param>
47+
/// <param name="type">
48+
/// Click on an element
49+
/// </param>
5050
/// <param name="all">
5151
/// Clicks all elements matched by the selector, not just the first one. Does not throw an error if no elements match the selector.<br/>
5252
/// Default Value: false
@@ -59,8 +59,8 @@ public ScrapeOptionsActionClick(
5959
global::Firecrawl.ScrapeOptionsActionClickType type,
6060
bool? all)
6161
{
62-
this.Selector = selector ?? throw new global::System.ArgumentNullException(nameof(selector));
6362
this.Type = type;
63+
this.Selector = selector ?? throw new global::System.ArgumentNullException(nameof(selector));
6464
this.All = all;
6565
}
6666

src/libs/Firecrawl/Generated/Firecrawl.Models.ScrapeOptionsActionExecuteJavaScript.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@ public sealed partial class ScrapeOptionsActionExecuteJavaScript
3333
/// <summary>
3434
/// Initializes a new instance of the <see cref="ScrapeOptionsActionExecuteJavaScript" /> class.
3535
/// </summary>
36-
/// <param name="type">
37-
/// Execute JavaScript code on the page
38-
/// </param>
3936
/// <param name="script">
4037
/// JavaScript code to execute<br/>
4138
/// Example: document.querySelector('.button').click();
4239
/// </param>
40+
/// <param name="type">
41+
/// Execute JavaScript code on the page
42+
/// </param>
4343
#if NET7_0_OR_GREATER
4444
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
4545
#endif
4646
public ScrapeOptionsActionExecuteJavaScript(
4747
string script,
4848
global::Firecrawl.ScrapeOptionsActionExecuteJavaScriptType type)
4949
{
50-
this.Script = script ?? throw new global::System.ArgumentNullException(nameof(script));
5150
this.Type = type;
51+
this.Script = script ?? throw new global::System.ArgumentNullException(nameof(script));
5252
}
5353

5454
/// <summary>

src/libs/Firecrawl/Generated/Firecrawl.Models.ScrapeOptionsActionPressAKey.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@ public sealed partial class ScrapeOptionsActionPressAKey
3333
/// <summary>
3434
/// Initializes a new instance of the <see cref="ScrapeOptionsActionPressAKey" /> class.
3535
/// </summary>
36-
/// <param name="type">
37-
/// Press a key on the page
38-
/// </param>
3936
/// <param name="key">
4037
/// Key to press<br/>
4138
/// Example: Enter
4239
/// </param>
40+
/// <param name="type">
41+
/// Press a key on the page
42+
/// </param>
4343
#if NET7_0_OR_GREATER
4444
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
4545
#endif
4646
public ScrapeOptionsActionPressAKey(
4747
string key,
4848
global::Firecrawl.ScrapeOptionsActionPressAKeyType type)
4949
{
50-
this.Key = key ?? throw new global::System.ArgumentNullException(nameof(key));
5150
this.Type = type;
51+
this.Key = key ?? throw new global::System.ArgumentNullException(nameof(key));
5252
}
5353

5454
/// <summary>

src/libs/Firecrawl/Generated/Firecrawl.Models.ScrapeOptionsActionWriteText.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@ public sealed partial class ScrapeOptionsActionWriteText
3333
/// <summary>
3434
/// Initializes a new instance of the <see cref="ScrapeOptionsActionWriteText" /> class.
3535
/// </summary>
36-
/// <param name="type">
37-
/// Write text into an input field, text area, or contenteditable element. Note: You must first focus the element using a 'click' action before writing. The text will be typed character by character to simulate keyboard input.
38-
/// </param>
3936
/// <param name="text">
4037
/// Text to type<br/>
4138
/// Example: Hello, world!
4239
/// </param>
40+
/// <param name="type">
41+
/// Write text into an input field, text area, or contenteditable element. Note: You must first focus the element using a 'click' action before writing. The text will be typed character by character to simulate keyboard input.
42+
/// </param>
4343
#if NET7_0_OR_GREATER
4444
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
4545
#endif
4646
public ScrapeOptionsActionWriteText(
4747
string text,
4848
global::Firecrawl.ScrapeOptionsActionWriteTextType type)
4949
{
50-
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
5150
this.Type = type;
51+
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
5252
}
5353

5454
/// <summary>

0 commit comments

Comments
 (0)