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
2 changes: 1 addition & 1 deletion src/libs/GroundX/Generated/GroundX.IBucketsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IBucketsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::GroundX.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/GroundX/Generated/GroundX.ICustomerClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface ICustomerClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::GroundX.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/GroundX/Generated/GroundX.IDocumentsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IDocumentsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::GroundX.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/GroundX/Generated/GroundX.IGroundXClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ public partial interface IGroundXClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::GroundX.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/GroundX/Generated/GroundX.IGroupsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IGroupsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::GroundX.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/GroundX/Generated/GroundX.IHealthClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IHealthClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::GroundX.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/GroundX/Generated/GroundX.ISearchClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface ISearchClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::GroundX.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 2 additions & 0 deletions src/libs/GroundX/Generated/GroundX.OptionsSupport.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public sealed class AutoSDKRetryOptions
public global::System.TimeSpan? Delay { get; set; }
}


/// <summary>
/// Runtime hook interface for generated SDK lifecycle events.
/// </summary>
Expand Down Expand Up @@ -236,6 +237,7 @@ public sealed class AutoSDKHookContext
public global::System.Threading.CancellationToken CancellationToken { get; set; }
}


internal static class AutoSDKRequestOptionsSupport
{
internal static global::GroundX.AutoSDKHookContext CreateHookContext(
Expand Down
26 changes: 26 additions & 0 deletions src/libs/GroundX/Generated/autosdk.generated-examples.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"Examples": [
{
"Order": 1,
"Title": "lookup",
"Slug": "document-lookup",
"Description": "lookup the document(s) associated with a processId, bucketId, groupId, or projectId.\n\nInteract with the \u0022Request Body\u0022 below to explore the arguments of this function. Enter your GroundX API key to send a request directly from this web page. Select your language of choice to structure a code snippet based on your specified arguments.",
"Language": "http",
"Code": "### lookup\n# @name Document_lookup\nGET {{host}}/v1/ingest/documents/{{id}}?n={{n}}\u0026filter={{filter}}\u0026sort=name\u0026sortOrder=asc\u0026status=queued\u0026nextToken={{nextToken}}\nX-API-Key: {{api_key}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: Look up success\n# Content-Type: application/json\n# 400\n# Description: Invalid process, bucket, group, or project ID\n# 401\n# Description: Unauthorized to access process, bucket, group, or project with given ID",
"Format": "http",
"OperationId": "Document_lookup",
"Setup": null
},
{
"Order": 2,
"Title": "get",
"Slug": "health-get",
"Description": "Look up the current health status of a specific service. Statuses update every 5 minutes.",
"Language": "csharp",
"Code": "using var client = new GroundXClient(apiKey);\n\nvar response = await client.Health.HealthGetAsync(\n service: \u0022search\u0022\n);",
"Format": "sdk",
"OperationId": "Health_get",
"Setup": "This example assumes \u0060using GroundX;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential."
}
]
}