From 674d98ce075e2ef2af299908215e56874bdc8dda Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 11 Apr 2026 04:49:51 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/GroundX.IBucketsClient.g.cs | 2 +- .../Generated/GroundX.ICustomerClient.g.cs | 2 +- .../Generated/GroundX.IDocumentsClient.g.cs | 2 +- .../Generated/GroundX.IGroundXClient.g.cs | 2 +- .../Generated/GroundX.IGroupsClient.g.cs | 2 +- .../Generated/GroundX.IHealthClient.g.cs | 2 +- .../Generated/GroundX.ISearchClient.g.cs | 2 +- .../Generated/GroundX.OptionsSupport.g.cs | 2 ++ .../Generated/autosdk.generated-examples.json | 26 +++++++++++++++++++ 9 files changed, 35 insertions(+), 7 deletions(-) create mode 100644 src/libs/GroundX/Generated/autosdk.generated-examples.json diff --git a/src/libs/GroundX/Generated/GroundX.IBucketsClient.g.cs b/src/libs/GroundX/Generated/GroundX.IBucketsClient.g.cs index c8c9e9e..f7d6336 100644 --- a/src/libs/GroundX/Generated/GroundX.IBucketsClient.g.cs +++ b/src/libs/GroundX/Generated/GroundX.IBucketsClient.g.cs @@ -32,12 +32,12 @@ public partial interface IBucketsClient : global::System.IDisposable /// ensuring is populated. /// public bool ReadResponseAsString { get; set; } - /// /// Client-wide request defaults such as headers, query parameters, retries, and timeout. /// public global::GroundX.AutoSDKClientOptions Options { get; } + /// /// /// diff --git a/src/libs/GroundX/Generated/GroundX.ICustomerClient.g.cs b/src/libs/GroundX/Generated/GroundX.ICustomerClient.g.cs index 4446d0c..2360051 100644 --- a/src/libs/GroundX/Generated/GroundX.ICustomerClient.g.cs +++ b/src/libs/GroundX/Generated/GroundX.ICustomerClient.g.cs @@ -32,12 +32,12 @@ public partial interface ICustomerClient : global::System.IDisposable /// ensuring is populated. /// public bool ReadResponseAsString { get; set; } - /// /// Client-wide request defaults such as headers, query parameters, retries, and timeout. /// public global::GroundX.AutoSDKClientOptions Options { get; } + /// /// /// diff --git a/src/libs/GroundX/Generated/GroundX.IDocumentsClient.g.cs b/src/libs/GroundX/Generated/GroundX.IDocumentsClient.g.cs index a38962d..56ddc6c 100644 --- a/src/libs/GroundX/Generated/GroundX.IDocumentsClient.g.cs +++ b/src/libs/GroundX/Generated/GroundX.IDocumentsClient.g.cs @@ -32,12 +32,12 @@ public partial interface IDocumentsClient : global::System.IDisposable /// ensuring is populated. /// public bool ReadResponseAsString { get; set; } - /// /// Client-wide request defaults such as headers, query parameters, retries, and timeout. /// public global::GroundX.AutoSDKClientOptions Options { get; } + /// /// /// diff --git a/src/libs/GroundX/Generated/GroundX.IGroundXClient.g.cs b/src/libs/GroundX/Generated/GroundX.IGroundXClient.g.cs index 97362f2..9bc62e9 100644 --- a/src/libs/GroundX/Generated/GroundX.IGroundXClient.g.cs +++ b/src/libs/GroundX/Generated/GroundX.IGroundXClient.g.cs @@ -33,12 +33,12 @@ public partial interface IGroundXClient : global::System.IDisposable /// ensuring is populated. /// public bool ReadResponseAsString { get; set; } - /// /// Client-wide request defaults such as headers, query parameters, retries, and timeout. /// public global::GroundX.AutoSDKClientOptions Options { get; } + /// /// /// diff --git a/src/libs/GroundX/Generated/GroundX.IGroupsClient.g.cs b/src/libs/GroundX/Generated/GroundX.IGroupsClient.g.cs index 7dbf272..735d3f6 100644 --- a/src/libs/GroundX/Generated/GroundX.IGroupsClient.g.cs +++ b/src/libs/GroundX/Generated/GroundX.IGroupsClient.g.cs @@ -32,12 +32,12 @@ public partial interface IGroupsClient : global::System.IDisposable /// ensuring is populated. /// public bool ReadResponseAsString { get; set; } - /// /// Client-wide request defaults such as headers, query parameters, retries, and timeout. /// public global::GroundX.AutoSDKClientOptions Options { get; } + /// /// /// diff --git a/src/libs/GroundX/Generated/GroundX.IHealthClient.g.cs b/src/libs/GroundX/Generated/GroundX.IHealthClient.g.cs index 7987c78..5bfa190 100644 --- a/src/libs/GroundX/Generated/GroundX.IHealthClient.g.cs +++ b/src/libs/GroundX/Generated/GroundX.IHealthClient.g.cs @@ -32,12 +32,12 @@ public partial interface IHealthClient : global::System.IDisposable /// ensuring is populated. /// public bool ReadResponseAsString { get; set; } - /// /// Client-wide request defaults such as headers, query parameters, retries, and timeout. /// public global::GroundX.AutoSDKClientOptions Options { get; } + /// /// /// diff --git a/src/libs/GroundX/Generated/GroundX.ISearchClient.g.cs b/src/libs/GroundX/Generated/GroundX.ISearchClient.g.cs index d13010d..5a63019 100644 --- a/src/libs/GroundX/Generated/GroundX.ISearchClient.g.cs +++ b/src/libs/GroundX/Generated/GroundX.ISearchClient.g.cs @@ -32,12 +32,12 @@ public partial interface ISearchClient : global::System.IDisposable /// ensuring is populated. /// public bool ReadResponseAsString { get; set; } - /// /// Client-wide request defaults such as headers, query parameters, retries, and timeout. /// public global::GroundX.AutoSDKClientOptions Options { get; } + /// /// /// diff --git a/src/libs/GroundX/Generated/GroundX.OptionsSupport.g.cs b/src/libs/GroundX/Generated/GroundX.OptionsSupport.g.cs index c8292c8..4c01e85 100644 --- a/src/libs/GroundX/Generated/GroundX.OptionsSupport.g.cs +++ b/src/libs/GroundX/Generated/GroundX.OptionsSupport.g.cs @@ -106,6 +106,7 @@ public sealed class AutoSDKRetryOptions public global::System.TimeSpan? Delay { get; set; } } + /// /// Runtime hook interface for generated SDK lifecycle events. /// @@ -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( diff --git a/src/libs/GroundX/Generated/autosdk.generated-examples.json b/src/libs/GroundX/Generated/autosdk.generated-examples.json new file mode 100644 index 0000000..c10587e --- /dev/null +++ b/src/libs/GroundX/Generated/autosdk.generated-examples.json @@ -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." + } + ] +} \ No newline at end of file