Skip to content

Commit a0b651e

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.476.2
1 parent d25b67a commit a0b651e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+816
-1043
lines changed

.speakeasy/gen.lock

+253-724
Large diffs are not rendered by default.

.speakeasy/workflow.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.468.2
1+
speakeasyVersion: 1.476.2
22
sources:
33
speakeasy:
44
sourceNamespace: speakeasy
5-
sourceRevisionDigest: sha256:8af7ebde12785185cdbd700c1b3b6b8848b43d34f1fe8c06fff5ae4af471faf2
6-
sourceBlobDigest: sha256:952a58da1511e3191ea8e470c7f01a4e3785d11d9152f490a3e5a7173c8542e7
5+
sourceRevisionDigest: sha256:1bf16215caf051fed6572f20b131e1165c0f9aca39ef7f084ee2d206e9d6d927
6+
sourceBlobDigest: sha256:c06cc83921f8f24dfc098c977539857c3b7ff65302887ea14acb0fe3d5b17c62
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1735949986
9+
- speakeasy-sdk-regen-1736900413
1010
- 0.4.0
1111
targets:
1212
speakeasy-client-sdk-csharp:
1313
source: speakeasy
1414
sourceNamespace: speakeasy
15-
sourceRevisionDigest: sha256:8af7ebde12785185cdbd700c1b3b6b8848b43d34f1fe8c06fff5ae4af471faf2
16-
sourceBlobDigest: sha256:952a58da1511e3191ea8e470c7f01a4e3785d11d9152f490a3e5a7173c8542e7
15+
sourceRevisionDigest: sha256:1bf16215caf051fed6572f20b131e1165c0f9aca39ef7f084ee2d206e9d6d927
16+
sourceBlobDigest: sha256:c06cc83921f8f24dfc098c977539857c3b7ff65302887ea14acb0fe3d5b17c62
1717
codeSamplesNamespace: code-samples-csharp-speakeasy-client-sdk-csharp
18-
codeSamplesRevisionDigest: sha256:aacf508e82244f7628670bda7c73bdda3a36059c4143c3566f2b4d4935251ec8
18+
codeSamplesRevisionDigest: sha256:313334339f15a000c94b1c44f35862bd54483adf987a9a70446d9e4b293e77e3
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

CONTRIBUTING.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Contributing to This Repository
2+
3+
Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.
4+
5+
## How to Report Issues
6+
7+
If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:
8+
9+
- A clear and descriptive title
10+
- Steps to reproduce the issue
11+
- Expected and actual behavior
12+
- Any relevant logs, screenshots, or error messages
13+
- Information about your environment (e.g., operating system, software versions)
14+
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed
15+
16+
## Issue Triage and Upstream Fixes
17+
18+
We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.
19+
20+
## Contact
21+
22+
If you have any questions or need further assistance, please feel free to reach out by opening an issue.
23+
24+
Thank you for your understanding and cooperation!
25+
26+
The Maintainers

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ var res = await sdk.Artifacts.CreateRemoteSourceAsync(req);
8989
* [ListRemoteSources](docs/sdks/artifacts/README.md#listremotesources) - Get remote sources attached to a particular namespace
9090
* [PostTags](docs/sdks/artifacts/README.md#posttags) - Add tags to an existing revision
9191
* [Preflight](docs/sdks/artifacts/README.md#preflight) - Get access token for communicating with OCI distribution endpoints
92+
* [SetArchived](docs/sdks/artifacts/README.md#setarchived) - Set whether a namespace is archived
9293
* [SetVisibility](docs/sdks/artifacts/README.md#setvisibility) - Set visibility of a namespace with an existing metadata entry
9394

9495
### [Auth](docs/sdks/auth/README.md)
@@ -102,7 +103,6 @@ var res = await sdk.Artifacts.CreateRemoteSourceAsync(req);
102103

103104
* [GenerateCodeSamplePreview](docs/sdks/codesamples/README.md#generatecodesamplepreview) - Generate Code Sample previews from a file and configuration parameters.
104105
* [GenerateCodeSamplePreviewAsync](docs/sdks/codesamples/README.md#generatecodesamplepreviewasync) - Initiate asynchronous Code Sample preview generation from a file and configuration parameters, receiving an async JobID response for polling.
105-
* [Get](docs/sdks/codesamples/README.md#get) - Retrieve usage snippets from document stored in the registry
106106
* [GetCodeSamplePreviewAsync](docs/sdks/codesamples/README.md#getcodesamplepreviewasync) - Poll for the result of an asynchronous Code Sample preview generation.
107107

108108
### [Events](docs/sdks/events/README.md)

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -949,4 +949,14 @@ Based on:
949949
### Generated
950950
- [csharp v5.12.0] .
951951
### Releases
952-
- [NuGet v5.12.0] https://www.nuget.org/packages/SpeakeasySDK/5.12.0 - .
952+
- [NuGet v5.12.0] https://www.nuget.org/packages/SpeakeasySDK/5.12.0 - .
953+
954+
## 2025-01-28 00:19:57
955+
### Changes
956+
Based on:
957+
- OpenAPI Doc
958+
- Speakeasy CLI 1.476.2 (2.495.1) https://github.com/speakeasy-api/speakeasy
959+
### Generated
960+
- [csharp v5.13.0] .
961+
### Releases
962+
- [NuGet v5.13.0] https://www.nuget.org/packages/SpeakeasySDK/5.13.0 - .

codeSamples.yaml

+21-21
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,27 @@ actions:
1818
1919
var res = await sdk.Artifacts.GetNamespacesAsync();
2020
21+
// handle response
22+
- target: $["paths"]["/v1/artifacts/namespaces/{namespace_name}/archive"]["post"]
23+
update:
24+
x-codeSamples:
25+
- lang: csharp
26+
label: archiveNamespace
27+
source: |-
28+
using SpeakeasySDK;
29+
using SpeakeasySDK.Models.Operations;
30+
using SpeakeasySDK.Models.Shared;
31+
32+
var sdk = new SDK(security: new Security() {
33+
APIKey = "<YOUR_API_KEY_HERE>",
34+
});
35+
36+
ArchiveNamespaceRequest req = new ArchiveNamespaceRequest() {
37+
NamespaceName = "<value>",
38+
};
39+
40+
var res = await sdk.Artifacts.SetArchivedAsync(req);
41+
2142
// handle response
2243
- target: $["paths"]["/v1/artifacts/namespaces/{namespace_name}/revisions"]["get"]
2344
update:
@@ -205,27 +226,6 @@ actions:
205226
206227
var res = await sdk.Auth.ValidateApiKeyAsync();
207228
208-
// handle response
209-
- target: $["paths"]["/v1/code_sample"]["get"]
210-
update:
211-
x-codeSamples:
212-
- lang: csharp
213-
label: getCodeSamples
214-
source: |-
215-
using SpeakeasySDK;
216-
using SpeakeasySDK.Models.Operations;
217-
using SpeakeasySDK.Models.Shared;
218-
219-
var sdk = new SDK(security: new Security() {
220-
APIKey = "<YOUR_API_KEY_HERE>",
221-
});
222-
223-
GetCodeSamplesRequest req = new GetCodeSamplesRequest() {
224-
RegistryUrl = "https://normal-making.name",
225-
};
226-
227-
var res = await sdk.CodeSamples.GetAsync(req);
228-
229229
// handle response
230230
- target: $["paths"]["/v1/code_sample/preview"]["post"]
231231
update:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ArchiveNamespaceRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8+
| `NamespaceName` | *string* | :heavy_check_mark: | N/A |
9+
| `RequestBody` | [ArchiveNamespaceRequestBody](../../Models/Operations/ArchiveNamespaceRequestBody.md) | :heavy_minus_sign: | Archived status |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ArchiveNamespaceRequestBody
2+
3+
Archived status
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ------------------ | ------------------ | ------------------ | ------------------ |
10+
| `Archived` | *bool* | :heavy_minus_sign: | N/A |
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GetCodeSamplesResponse
1+
# ArchiveNamespaceResponse
22

33

44
## Fields
@@ -7,5 +7,4 @@
77
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
88
| `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
99
| `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
10-
| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
11-
| `UsageSnippets` | [UsageSnippets](../../Models/Shared/UsageSnippets.md) | :heavy_minus_sign: | OK |
10+
| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |

docs/Models/Operations/GetCodeSamplesRequest.md

-10
This file was deleted.

docs/Models/Shared/Namespace.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ A namespace contains many revisions.
77

88
| Field | Type | Required | Description |
99
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
10+
| `ArchivedAt` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | N/A |
1011
| `CompositeSpecMetadata` | [CompositeSpecMetadata](../../Models/Shared/CompositeSpecMetadata.md) | :heavy_minus_sign: | N/A |
1112
| `CreatedAt` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | N/A |
1213
| `Id` | *string* | :heavy_check_mark: | {organization_slug}/{workspace_slug}/{namespace_name} |
14+
| `LatestRevisionMetadata` | [RevisionContentsMetadata](../../Models/Shared/RevisionContentsMetadata.md) | :heavy_minus_sign: | N/A |
1315
| `Name` | *string* | :heavy_check_mark: | A human-readable name for the namespace. |
1416
| `Public` | *bool* | :heavy_minus_sign: | Indicates whether the namespace is publicly accessible |
1517
| `UpdatedAt` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | N/A |

docs/Models/Shared/Revision.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
| Field | Type | Required | Description | Example |
77
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8+
| `ContentsMetadata` | [RevisionContentsMetadata](../../Models/Shared/RevisionContentsMetadata.md) | :heavy_minus_sign: | N/A | |
89
| `CreatedAt` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_check_mark: | N/A | |
910
| `Digest` | *string* | :heavy_check_mark: | N/A | sha256:6d1ef012b5674ad8a127ecfa9b5e6f5178d171b90ee462846974177fd9bdd39f |
1011
| `Id` | *string* | :heavy_check_mark: | Format {namespace_id}/{revision_digest} | |

0 commit comments

Comments
 (0)