Skip to content
Open
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
504 changes: 252 additions & 252 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.761.3
speakeasyVersion: 1.785.0
sources:
speakeasy:
sourceNamespace: speakeasy
Expand All @@ -14,7 +14,7 @@ targets:
sourceRevisionDigest: sha256:dac7a3850ebb7d036efa93658b5704753d504595aac9f045ca1b8d9c85b3d2ac
sourceBlobDigest: sha256:3e59af5accd2bcf1d96389047acb564c33bbda9339229485a8e859ab8bd6d604
codeSamplesNamespace: code-samples-csharp-speakeasy-client-sdk-csharp
codeSamplesRevisionDigest: sha256:f4dcc477b4ee242d84dfc6f1fa47d44f24286e5a78a6307d4f80c63458c94ce2
codeSamplesRevisionDigest: sha256:eeb1380af01b59e21c46b97ded881968ae75779955aab0d0a4c44d63df2f24c5
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
3 changes: 2 additions & 1 deletion NUGET.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,9 @@ catch (SDKBaseException ex) // all SDK exceptions inherit from SDKBaseException
{
// Check error data fields
ErrorPayload payload = ex.Payload;
HttpResponseMessage RawResponse = payload.RawResponse;
string Message = payload.Message;
int StatusCode = payload.StatusCode;
// ...
}

// An underlying cause may be provided
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,9 @@ catch (SDKBaseException ex) // all SDK exceptions inherit from SDKBaseException
{
// Check error data fields
ErrorPayload payload = ex.Payload;
HttpResponseMessage RawResponse = payload.RawResponse;
string Message = payload.Message;
int StatusCode = payload.StatusCode;
// ...
}

// An underlying cause may be provided
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -969,4 +969,14 @@ Based on:
### Generated
- [csharp v5.13.1] .
### Releases
- [NuGet v5.13.1] https://www.nuget.org/packages/SpeakeasySDK/5.13.1 - .
- [NuGet v5.13.1] https://www.nuget.org/packages/SpeakeasySDK/5.13.1 - .

## 2026-06-26 00:57:06
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.785.0 (2.912.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v5.13.7] .
### Releases
- [NuGet v5.13.7] https://www.nuget.org/packages/SpeakeasySDK/5.13.7 - .
30 changes: 15 additions & 15 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,9 @@ actions:
});

GetGithubSetupStateRequest req = new GetGithubSetupStateRequest() {
GenerateGenLockId = "<id>",
Org = "<value>",
Repo = "<value>",
GenerateGenLockId = "<id>",
};

var res = await sdk.Github.GetSetupAsync(req);
Expand Down Expand Up @@ -540,10 +540,10 @@ actions:
});

GetBlobRequest req = new GetBlobRequest() {
Digest = "<value>",
NamespaceName = "<value>",
OrganizationSlug = "<value>",
WorkspaceSlug = "<value>",
NamespaceName = "<value>",
Digest = "<value>",
};

var res = await sdk.Artifacts.GetBlobAsync(req);
Expand All @@ -564,10 +564,10 @@ actions:
});

GetManifestRequest req = new GetManifestRequest() {
NamespaceName = "<value>",
OrganizationSlug = "<value>",
RevisionReference = "<value>",
WorkspaceSlug = "<value>",
NamespaceName = "<value>",
RevisionReference = "<value>",
};

var res = await sdk.Artifacts.GetManifestAsync(req);
Expand Down Expand Up @@ -760,7 +760,7 @@ actions:
APIKey = "<YOUR_API_KEY_HERE>",
});

CreatePublishingTokenRequestBody? req = null;
CreatePublishingTokenRequest? req = null;

var res = await sdk.PublishingTokens.CreateAsync(req);

Expand Down Expand Up @@ -884,7 +884,7 @@ actions:
APIKey = "<YOUR_API_KEY_HERE>",
});

UploadReportRequestBody req = new UploadReportRequestBody() {
UploadReportRequest req = new UploadReportRequest() {
Data = new Report() {},
File = new SpeakeasySDK.Models.Operations.File() {
Content = System.IO.File.ReadAllBytes("example.file"),
Expand Down Expand Up @@ -951,7 +951,7 @@ actions:
APIKey = "<YOUR_API_KEY_HERE>",
});

GetSchemaStoreItemRequestBody? req = null;
GetSchemaStoreItemRequest? req = null;

var res = await sdk.SchemaStore.GetSchemaStoreItemAsync(req);

Expand All @@ -970,7 +970,7 @@ actions:
APIKey = "<YOUR_API_KEY_HERE>",
});

CreateSchemaStoreItemRequestBody req = new CreateSchemaStoreItemRequestBody() {
CreateSchemaStoreItemRequest req = new CreateSchemaStoreItemRequest() {
Format = SpeakeasySDK.Models.Operations.Format.Yaml,
PackageName = "<value>",
SDKClassname = "<value>",
Expand All @@ -994,7 +994,7 @@ actions:
APIKey = "<YOUR_API_KEY_HERE>",
});

CreateRequestBody req = new CreateRequestBody() {
CreateRequest req = new CreateRequest() {
Url = "https://exalted-heroine.org/",
};

Expand All @@ -1016,8 +1016,8 @@ actions:
});

ActivateSubscriptionNamespaceRequest req = new ActivateSubscriptionNamespaceRequest() {
NamespaceName = "<value>",
SubscriptionID = "<id>",
NamespaceName = "<value>",
};

var res = await sdk.Subscriptions.ActivateSubscriptionNamespaceAsync(req);
Expand All @@ -1038,8 +1038,8 @@ actions:
});

IgnoreSubscriptionNamespaceRequest req = new IgnoreSubscriptionNamespaceRequest() {
NamespaceName = "<value>",
SubscriptionID = "<id>",
NamespaceName = "<value>",
};

var res = await sdk.Subscriptions.IgnoreSubscriptionNamespaceAsync(req);
Expand Down Expand Up @@ -1084,13 +1084,13 @@ actions:
});

SuggestOpenAPIRequest req = new SuggestOpenAPIRequest() {
XSessionId = "<id>",
RequestBody = new SuggestOpenAPIRequestBody() {
Schema = new Schema() {
Content = System.IO.File.ReadAllBytes("example.file"),
FileName = "example.file",
},
},
XSessionId = "<id>",
};

var res = await sdk.Suggest.SuggestOpenAPIAsync(req);
Expand All @@ -1111,9 +1111,9 @@ actions:
});

SuggestOpenAPIRegistryRequest req = new SuggestOpenAPIRegistryRequest() {
XSessionId = "<id>",
NamespaceName = "<value>",
RevisionReference = "<value>",
XSessionId = "<id>",
};

var res = await sdk.Suggest.SuggestOpenAPIRegistryAsync(req);
Expand All @@ -1135,6 +1135,7 @@ actions:
});

SuggestRequest req = new SuggestRequest() {
XSessionId = "<id>",
SuggestRequestBody = new SuggestRequestBody() {
Diagnostics = new List<Diagnostic>() {
new Diagnostic() {
Expand Down Expand Up @@ -1168,7 +1169,6 @@ actions:
},
SuggestionType = SuggestRequestBodySuggestionType.MethodNames,
},
XSessionId = "<id>",
};

var res = await sdk.Suggest.SuggestAsync(req);
Expand Down
9 changes: 5 additions & 4 deletions docs/Models/Errors/Error.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ The `Status` type defines a logical error model

## Fields

| Field | Type | Required | Description |
| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- |
| `Message` | *string* | :heavy_check_mark: | A developer-facing error message. |
| `StatusCode` | *int* | :heavy_check_mark: | The HTTP status code |
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
| `Message` | *string* | :heavy_check_mark: | A developer-facing error message. |
| `StatusCode` | *int* | :heavy_check_mark: | The HTTP status code |
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

| Field | Type | Required | Description |
| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- |
| `NamespaceName` | *string* | :heavy_check_mark: | The namespace name |
| `SubscriptionID` | *string* | :heavy_check_mark: | The existing subscription ID |
| `SubscriptionID` | *string* | :heavy_check_mark: | The existing subscription ID |
| `NamespaceName` | *string* | :heavy_check_mark: | The namespace name |
4 changes: 2 additions & 2 deletions docs/Models/Operations/ArchiveNamespaceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `RequestBody` | [ArchiveNamespaceRequestBody](../../Models/Operations/ArchiveNamespaceRequestBody.md) | :heavy_minus_sign: | Archived status |
| `NamespaceName` | *string* | :heavy_check_mark: | N/A |
| `NamespaceName` | *string* | :heavy_check_mark: | N/A |
| `RequestBody` | [ArchiveNamespaceRequestBody](../../Models/Operations/ArchiveNamespaceRequestBody.md) | :heavy_minus_sign: | Archived status |
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CreatePublishingTokenRequestBody
# CreatePublishingTokenRequest

The publishing token to create

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CreateRequestBody
# CreateRequest


## Fields
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CreateSchemaStoreItemRequestBody
# CreateSchemaStoreItemRequest


## Fields
Expand Down
4 changes: 2 additions & 2 deletions docs/Models/Operations/CreateWorkspaceTokenRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

| Field | Type | Required | Description |
| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
| `WorkspaceToken` | [WorkspaceToken](../../Models/Shared/WorkspaceToken.md) | :heavy_check_mark: | N/A |
| `WorkspaceId` | *string* | :heavy_minus_sign: | Unique identifier of the workspace. |
| `WorkspaceId` | *string* | :heavy_minus_sign: | Unique identifier of the workspace. |
| `WorkspaceToken` | [WorkspaceToken](../../Models/Shared/WorkspaceToken.md) | :heavy_check_mark: | N/A |
4 changes: 2 additions & 2 deletions docs/Models/Operations/DeleteWorkspaceTokenRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

| Field | Type | Required | Description |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `TokenID` | *string* | :heavy_check_mark: | Unique identifier of the token. |
| `WorkspaceId` | *string* | :heavy_minus_sign: | Unique identifier of the workspace. |
| `WorkspaceId` | *string* | :heavy_minus_sign: | Unique identifier of the workspace. |
| `TokenID` | *string* | :heavy_check_mark: | Unique identifier of the token. |
6 changes: 3 additions & 3 deletions docs/Models/Operations/GetBlobRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `Digest` | *string* | :heavy_check_mark: | N/A |
| `NamespaceName` | *string* | :heavy_check_mark: | N/A |
| `OrganizationSlug` | *string* | :heavy_check_mark: | N/A |
| `WorkspaceSlug` | *string* | :heavy_check_mark: | N/A |
| `WorkspaceSlug` | *string* | :heavy_check_mark: | N/A |
| `NamespaceName` | *string* | :heavy_check_mark: | N/A |
| `Digest` | *string* | :heavy_check_mark: | N/A |
4 changes: 2 additions & 2 deletions docs/Models/Operations/GetGitHubActionRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

| Field | Type | Required | Description |
| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- |
| `TargetName` | *string* | :heavy_minus_sign: | The targetName of the workflow target. |
| `Org` | *string* | :heavy_check_mark: | N/A |
| `Repo` | *string* | :heavy_check_mark: | N/A |
| `TargetName` | *string* | :heavy_minus_sign: | The targetName of the workflow target. |
| `Repo` | *string* | :heavy_check_mark: | N/A |
4 changes: 2 additions & 2 deletions docs/Models/Operations/GetGithubSetupStateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

| Field | Type | Required | Description |
| ------------------- | ------------------- | ------------------- | ------------------- |
| `GenerateGenLockId` | *string* | :heavy_check_mark: | N/A |
| `Org` | *string* | :heavy_check_mark: | N/A |
| `Repo` | *string* | :heavy_check_mark: | N/A |
| `Repo` | *string* | :heavy_check_mark: | N/A |
| `GenerateGenLockId` | *string* | :heavy_check_mark: | N/A |
6 changes: 3 additions & 3 deletions docs/Models/Operations/GetManifestRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Field | Type | Required | Description |
| ------------------- | ------------------- | ------------------- | ------------------- |
| `NamespaceName` | *string* | :heavy_check_mark: | N/A |
| `OrganizationSlug` | *string* | :heavy_check_mark: | N/A |
| `RevisionReference` | *string* | :heavy_check_mark: | Tag or digest |
| `WorkspaceSlug` | *string* | :heavy_check_mark: | N/A |
| `WorkspaceSlug` | *string* | :heavy_check_mark: | N/A |
| `NamespaceName` | *string* | :heavy_check_mark: | N/A |
| `RevisionReference` | *string* | :heavy_check_mark: | Tag or digest |
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GetSchemaStoreItemRequestBody
# GetSchemaStoreItemRequest


## Fields
Expand Down
Loading