Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.483.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Feb 4, 2025
1 parent d25b67a commit 7c3415f
Show file tree
Hide file tree
Showing 53 changed files with 911 additions and 1,080 deletions.
991 changes: 256 additions & 735 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.468.2
speakeasyVersion: 1.483.0
sources:
speakeasy:
sourceNamespace: speakeasy
sourceRevisionDigest: sha256:8af7ebde12785185cdbd700c1b3b6b8848b43d34f1fe8c06fff5ae4af471faf2
sourceBlobDigest: sha256:952a58da1511e3191ea8e470c7f01a4e3785d11d9152f490a3e5a7173c8542e7
sourceRevisionDigest: sha256:bdb7eb973d792f631599c3d6d1ecd50a586fc0bc8cfc8660ff5ca80adf13d8dc
sourceBlobDigest: sha256:a3c82707f36dbd5fb67ba0be2bbd133524f693e35e5a278ceadc7cca1b90ef5a
tags:
- latest
- speakeasy-sdk-regen-1735949986
- speakeasy-sdk-regen-1736900413
- 0.4.0
targets:
speakeasy-client-sdk-csharp:
source: speakeasy
sourceNamespace: speakeasy
sourceRevisionDigest: sha256:8af7ebde12785185cdbd700c1b3b6b8848b43d34f1fe8c06fff5ae4af471faf2
sourceBlobDigest: sha256:952a58da1511e3191ea8e470c7f01a4e3785d11d9152f490a3e5a7173c8542e7
sourceRevisionDigest: sha256:bdb7eb973d792f631599c3d6d1ecd50a586fc0bc8cfc8660ff5ca80adf13d8dc
sourceBlobDigest: sha256:a3c82707f36dbd5fb67ba0be2bbd133524f693e35e5a278ceadc7cca1b90ef5a
codeSamplesNamespace: code-samples-csharp-speakeasy-client-sdk-csharp
codeSamplesRevisionDigest: sha256:aacf508e82244f7628670bda7c73bdda3a36059c4143c3566f2b4d4935251ec8
codeSamplesRevisionDigest: sha256:da97a428e1a4dba3433f40d0f548fff0d05082f0386b2cdb32ce543f968e3a10
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
26 changes: 26 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Contributing to This Repository

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.

## How to Report Issues

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:

- A clear and descriptive title
- Steps to reproduce the issue
- Expected and actual behavior
- Any relevant logs, screenshots, or error messages
- Information about your environment (e.g., operating system, software versions)
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed

## Issue Triage and Upstream Fixes

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.

## Contact

If you have any questions or need further assistance, please feel free to reach out by opening an issue.

Thank you for your understanding and cooperation!

The Maintainers
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ var res = await sdk.Artifacts.CreateRemoteSourceAsync(req);
* [ListRemoteSources](docs/sdks/artifacts/README.md#listremotesources) - Get remote sources attached to a particular namespace
* [PostTags](docs/sdks/artifacts/README.md#posttags) - Add tags to an existing revision
* [Preflight](docs/sdks/artifacts/README.md#preflight) - Get access token for communicating with OCI distribution endpoints
* [SetArchived](docs/sdks/artifacts/README.md#setarchived) - Set whether a namespace is archived
* [SetVisibility](docs/sdks/artifacts/README.md#setvisibility) - Set visibility of a namespace with an existing metadata entry

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

* [GenerateCodeSamplePreview](docs/sdks/codesamples/README.md#generatecodesamplepreview) - Generate Code Sample previews from a file and configuration parameters.
* [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.
* [Get](docs/sdks/codesamples/README.md#get) - Retrieve usage snippets from document stored in the registry
* [GetCodeSamplePreviewAsync](docs/sdks/codesamples/README.md#getcodesamplepreviewasync) - Poll for the result of an asynchronous Code Sample preview generation.

### [Events](docs/sdks/events/README.md)
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -949,4 +949,14 @@ Based on:
### Generated
- [csharp v5.12.0] .
### Releases
- [NuGet v5.12.0] https://www.nuget.org/packages/SpeakeasySDK/5.12.0 - .
- [NuGet v5.12.0] https://www.nuget.org/packages/SpeakeasySDK/5.12.0 - .

## 2025-02-04 00:19:36
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.483.0 (2.502.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v5.13.0] .
### Releases
- [NuGet v5.13.0] https://www.nuget.org/packages/SpeakeasySDK/5.13.0 - .
54 changes: 24 additions & 30 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,27 @@ actions:
var res = await sdk.Artifacts.GetNamespacesAsync();
// handle response
- target: $["paths"]["/v1/artifacts/namespaces/{namespace_name}/archive"]["post"]
update:
x-codeSamples:
- lang: csharp
label: archiveNamespace
source: |-
using SpeakeasySDK;
using SpeakeasySDK.Models.Operations;
using SpeakeasySDK.Models.Shared;
var sdk = new SDK(security: new Security() {
APIKey = "<YOUR_API_KEY_HERE>",
});
ArchiveNamespaceRequest req = new ArchiveNamespaceRequest() {
NamespaceName = "<value>",
};
var res = await sdk.Artifacts.SetArchivedAsync(req);
// handle response
- target: $["paths"]["/v1/artifacts/namespaces/{namespace_name}/revisions"]["get"]
update:
Expand Down Expand Up @@ -205,27 +226,6 @@ actions:
var res = await sdk.Auth.ValidateApiKeyAsync();
// handle response
- target: $["paths"]["/v1/code_sample"]["get"]
update:
x-codeSamples:
- lang: csharp
label: getCodeSamples
source: |-
using SpeakeasySDK;
using SpeakeasySDK.Models.Operations;
using SpeakeasySDK.Models.Shared;
var sdk = new SDK(security: new Security() {
APIKey = "<YOUR_API_KEY_HERE>",
});
GetCodeSamplesRequest req = new GetCodeSamplesRequest() {
RegistryUrl = "https://normal-making.name",
};
var res = await sdk.CodeSamples.GetAsync(req);
// handle response
- target: $["paths"]["/v1/code_sample/preview"]["post"]
update:
Expand All @@ -236,16 +236,13 @@ actions:
using SpeakeasySDK;
using SpeakeasySDK.Models.Shared;
using System;
using System.Collections.Generic;
var sdk = new SDK(security: new Security() {
APIKey = "<YOUR_API_KEY_HERE>",
});
CodeSampleSchemaInput req = new CodeSampleSchemaInput() {
Languages = new List<string>() {
"<value>",
},
Language = "<value>",
SchemaFile = new SchemaFile() {
FileName = "example.file",
Content = System.Text.Encoding.UTF8.GetBytes("0xc3dD8BfBef"),
Expand All @@ -264,16 +261,13 @@ actions:
using SpeakeasySDK;
using SpeakeasySDK.Models.Shared;
using System;
using System.Collections.Generic;
var sdk = new SDK(security: new Security() {
APIKey = "<YOUR_API_KEY_HERE>",
});
CodeSampleSchemaInput req = new CodeSampleSchemaInput() {
Languages = new List<string>() {
"<value>",
},
Language = "<value>",
SchemaFile = new SchemaFile() {
FileName = "example.file",
Content = System.Text.Encoding.UTF8.GetBytes("0xED5CDd177E"),
Expand Down Expand Up @@ -1169,7 +1163,7 @@ actions:
ExecutionId = "<id>",
WorkspaceId = "<id>",
SpeakeasyApiKeyName = "<value>",
InteractionType = InteractionType.TargetGenerate,
InteractionType = InteractionType.Tombstone,
LocalStartedAt = System.DateTime.Parse("2025-03-02T10:07:28.113Z"),
CreatedAt = System.DateTime.Parse("2024-09-08T05:59:33.876Z"),
SpeakeasyVersion = "<value>",
Expand Down
9 changes: 9 additions & 0 deletions docs/Models/Operations/ArchiveNamespaceRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ArchiveNamespaceRequest


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `NamespaceName` | *string* | :heavy_check_mark: | N/A |
| `RequestBody` | [ArchiveNamespaceRequestBody](../../Models/Operations/ArchiveNamespaceRequestBody.md) | :heavy_minus_sign: | Archived status |
10 changes: 10 additions & 0 deletions docs/Models/Operations/ArchiveNamespaceRequestBody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# ArchiveNamespaceRequestBody

Archived status


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `Archived` | *bool* | :heavy_minus_sign: | N/A |
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GetCodeSamplesResponse
# ArchiveNamespaceResponse


## Fields
Expand All @@ -7,5 +7,4 @@
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `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 |
| `UsageSnippets` | [UsageSnippets](../../Models/Shared/UsageSnippets.md) | :heavy_minus_sign: | OK |
| `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 |
5 changes: 2 additions & 3 deletions docs/Models/Operations/GenerateCodeSamplePreviewResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `TwoHundredApplicationJsonBytes` | *byte[]* | :heavy_minus_sign: | Successfully returned codeSample overlay file |
| `TwoHundredApplicationXYamlBytes` | *byte[]* | :heavy_minus_sign: | Successfully returned codeSample overlay file |
| `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `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 |
| `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 |
| `UsageSnippets` | [UsageSnippets](../../Models/Shared/UsageSnippets.md) | :heavy_minus_sign: | OK |
Loading

0 comments on commit 7c3415f

Please sign in to comment.