Skip to content

Commit c0550e4

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

Some content is hidden

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

48 files changed

+898
-1077
lines changed

.speakeasy/gen.lock

+256-735
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.481.1
22
sources:
33
speakeasy:
44
sourceNamespace: speakeasy
5-
sourceRevisionDigest: sha256:8af7ebde12785185cdbd700c1b3b6b8848b43d34f1fe8c06fff5ae4af471faf2
6-
sourceBlobDigest: sha256:952a58da1511e3191ea8e470c7f01a4e3785d11d9152f490a3e5a7173c8542e7
5+
sourceRevisionDigest: sha256:c3375eb669c3cf9d976b890b710a0cf3ffe02c5125200f99c349b8d7a43cb9db
6+
sourceBlobDigest: sha256:e5a801f69893464607a29d5b486de1f301d0ee4e5602dacf50ce3e9e5ba5c20a
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:c3375eb669c3cf9d976b890b710a0cf3ffe02c5125200f99c349b8d7a43cb9db
16+
sourceBlobDigest: sha256:e5a801f69893464607a29d5b486de1f301d0ee4e5602dacf50ce3e9e5ba5c20a
1717
codeSamplesNamespace: code-samples-csharp-speakeasy-client-sdk-csharp
18-
codeSamplesRevisionDigest: sha256:aacf508e82244f7628670bda7c73bdda3a36059c4143c3566f2b4d4935251ec8
18+
codeSamplesRevisionDigest: sha256:0b9b43de9d1259f1d92c6addd15822e27eebc659cf0c242da8c28ac14d1bf109
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-02-03 00:20:34
955+
### Changes
956+
Based on:
957+
- OpenAPI Doc
958+
- Speakeasy CLI 1.481.1 (2.500.5) 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

+23-29
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:
@@ -236,16 +236,13 @@ actions:
236236
using SpeakeasySDK;
237237
using SpeakeasySDK.Models.Shared;
238238
using System;
239-
using System.Collections.Generic;
240239
241240
var sdk = new SDK(security: new Security() {
242241
APIKey = "<YOUR_API_KEY_HERE>",
243242
});
244243
245244
CodeSampleSchemaInput req = new CodeSampleSchemaInput() {
246-
Languages = new List<string>() {
247-
"<value>",
248-
},
245+
Language = "<value>",
249246
SchemaFile = new SchemaFile() {
250247
FileName = "example.file",
251248
Content = System.Text.Encoding.UTF8.GetBytes("0xc3dD8BfBef"),
@@ -264,16 +261,13 @@ actions:
264261
using SpeakeasySDK;
265262
using SpeakeasySDK.Models.Shared;
266263
using System;
267-
using System.Collections.Generic;
268264
269265
var sdk = new SDK(security: new Security() {
270266
APIKey = "<YOUR_API_KEY_HERE>",
271267
});
272268
273269
CodeSampleSchemaInput req = new CodeSampleSchemaInput() {
274-
Languages = new List<string>() {
275-
"<value>",
276-
},
270+
Language = "<value>",
277271
SchemaFile = new SchemaFile() {
278272
FileName = "example.file",
279273
Content = System.Text.Encoding.UTF8.GetBytes("0xED5CDd177E"),
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/GenerateCodeSamplePreviewResponse.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55

66
| Field | Type | Required | Description |
77
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
8-
| `TwoHundredApplicationJsonBytes` | *byte[]* | :heavy_minus_sign: | Successfully returned codeSample overlay file |
9-
| `TwoHundredApplicationXYamlBytes` | *byte[]* | :heavy_minus_sign: | Successfully returned codeSample overlay file |
108
| `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
119
| `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
12-
| `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 |
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 |

0 commit comments

Comments
 (0)