Skip to content

Commit 3cd447e

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.574.1
1 parent d25b67a commit 3cd447e

File tree

157 files changed

+5752
-2167
lines changed

Some content is hidden

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

157 files changed

+5752
-2167
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
.DS_Store
2+
**/.speakeasy/temp/
3+
**/.speakeasy/logs/
14
obj/
25
bin/
36
debug/
4-
.idea/
7+
.idea/

.speakeasy/gen.lock

Lines changed: 480 additions & 793 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.468.2
1+
speakeasyVersion: 1.574.1
22
sources:
33
speakeasy:
44
sourceNamespace: speakeasy
5-
sourceRevisionDigest: sha256:8af7ebde12785185cdbd700c1b3b6b8848b43d34f1fe8c06fff5ae4af471faf2
6-
sourceBlobDigest: sha256:952a58da1511e3191ea8e470c7f01a4e3785d11d9152f490a3e5a7173c8542e7
5+
sourceRevisionDigest: sha256:914240ecdf581f2c21dcfb729a96c9965c2268ad421a03c07c2ba1dfeb841388
6+
sourceBlobDigest: sha256:0442ef7698d8979dd825b3eab0ab868ac86580f4cffcd3e0dff7afdd6191e6d9
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1735949986
9+
- speakeasy-sdk-regen-1746490985
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:914240ecdf581f2c21dcfb729a96c9965c2268ad421a03c07c2ba1dfeb841388
16+
sourceBlobDigest: sha256:0442ef7698d8979dd825b3eab0ab868ac86580f4cffcd3e0dff7afdd6191e6d9
1717
codeSamplesNamespace: code-samples-csharp-speakeasy-client-sdk-csharp
18-
codeSamplesRevisionDigest: sha256:aacf508e82244f7628670bda7c73bdda3a36059c4143c3566f2b4d4935251ec8
18+
codeSamplesRevisionDigest: sha256:5bd7be9243a2f6947204e1fd175daa26df77b55ba82b14a386e385e5e812f956
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

CONTRIBUTING.md

Lines changed: 26 additions & 0 deletions
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

NUGET.md

Lines changed: 13 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,12 @@
99
```csharp
1010
using SpeakeasySDK;
1111
using SpeakeasySDK.Models.Shared;
12-
using System.Collections.Generic;
1312

1413
var sdk = new SDK(security: new Security() {
1514
APIKey = "<YOUR_API_KEY_HERE>",
1615
});
1716

18-
RemoteSource req = new RemoteSource() {
19-
Inputs = new List<RemoteDocument>() {
20-
new RemoteDocument() {
21-
RegistryUrl = "https://productive-swine.net",
22-
},
23-
},
24-
Output = new RemoteDocument() {
25-
RegistryUrl = "https://spiteful-apricot.info",
26-
},
27-
};
17+
RemoteSource req = ;
2818

2919
var res = await sdk.Artifacts.CreateRemoteSourceAsync(req);
3020

@@ -49,22 +39,12 @@ You can set the security parameters through the `security` optional parameter wh
4939
```csharp
5040
using SpeakeasySDK;
5141
using SpeakeasySDK.Models.Shared;
52-
using System.Collections.Generic;
5342

5443
var sdk = new SDK(security: new Security() {
5544
APIKey = "<YOUR_API_KEY_HERE>",
5645
});
5746

58-
RemoteSource req = new RemoteSource() {
59-
Inputs = new List<RemoteDocument>() {
60-
new RemoteDocument() {
61-
RegistryUrl = "https://productive-swine.net",
62-
},
63-
},
64-
Output = new RemoteDocument() {
65-
RegistryUrl = "https://spiteful-apricot.info",
66-
},
67-
};
47+
RemoteSource req = ;
6848

6949
var res = await sdk.Artifacts.CreateRemoteSourceAsync(req);
7050

@@ -94,7 +74,7 @@ The following global parameter is available.
9474
using SpeakeasySDK;
9575
using SpeakeasySDK.Models.Operations;
9676

97-
var sdk = new SDK();
77+
var sdk = new SDK(workspaceId: "<id>");
9878

9979
GetAccessTokenRequest req = new GetAccessTokenRequest() {
10080
WorkspaceId = "<id>",
@@ -121,7 +101,7 @@ var sdk = new SDK(security: new Security() {
121101
APIKey = "<YOUR_API_KEY_HERE>",
122102
});
123103

124-
GetWorkspaceAccessRequest req = new GetWorkspaceAccessRequest() {};
104+
GetWorkspaceAccessRequest req = ;
125105

126106
var res = await sdk.Auth.GetAccessAsync(
127107
retryConfig: new RetryConfig(
@@ -162,7 +142,7 @@ var sdk = new SDK(
162142
}
163143
);
164144

165-
GetWorkspaceAccessRequest req = new GetWorkspaceAccessRequest() {};
145+
GetWorkspaceAccessRequest req = ;
166146

167147
var res = await sdk.Auth.GetAccessAsync(req);
168148

@@ -197,24 +177,14 @@ When custom error responses are specified for an operation, the SDK may also thr
197177
using SpeakeasySDK;
198178
using SpeakeasySDK.Models.Errors;
199179
using SpeakeasySDK.Models.Shared;
200-
using System.Collections.Generic;
201180

202181
var sdk = new SDK(security: new Security() {
203182
APIKey = "<YOUR_API_KEY_HERE>",
204183
});
205184

206185
try
207186
{
208-
RemoteSource req = new RemoteSource() {
209-
Inputs = new List<RemoteDocument>() {
210-
new RemoteDocument() {
211-
RegistryUrl = "https://productive-swine.net",
212-
},
213-
},
214-
Output = new RemoteDocument() {
215-
RegistryUrl = "https://spiteful-apricot.info",
216-
},
217-
};
187+
RemoteSource req = ;
218188

219189
var res = await sdk.Artifacts.CreateRemoteSourceAsync(req);
220190

@@ -243,34 +213,24 @@ catch (Exception ex)
243213

244214
You can override the default server globally by passing a server name to the `server: string` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the names associated with the available servers:
245215

246-
| Name | Server |
247-
| ------ | ----------------------------------- |
248-
| `prod` | `https://api.prod.speakeasyapi.dev` |
216+
| Name | Server | Description |
217+
| ------ | -------------------------------- | ----------- |
218+
| `prod` | `https://api.prod.speakeasy.com` | |
249219

250220
#### Example
251221

252222
```csharp
253223
using SpeakeasySDK;
254224
using SpeakeasySDK.Models.Shared;
255-
using System.Collections.Generic;
256225

257226
var sdk = new SDK(
258-
server: "prod",
227+
server: SDKConfig.Server.Prod,
259228
security: new Security() {
260229
APIKey = "<YOUR_API_KEY_HERE>",
261230
}
262231
);
263232

264-
RemoteSource req = new RemoteSource() {
265-
Inputs = new List<RemoteDocument>() {
266-
new RemoteDocument() {
267-
RegistryUrl = "https://productive-swine.net",
268-
},
269-
},
270-
Output = new RemoteDocument() {
271-
RegistryUrl = "https://spiteful-apricot.info",
272-
},
273-
};
233+
RemoteSource req = ;
274234

275235
var res = await sdk.Artifacts.CreateRemoteSourceAsync(req);
276236

@@ -283,25 +243,15 @@ The default server can also be overridden globally by passing a URL to the `serv
283243
```csharp
284244
using SpeakeasySDK;
285245
using SpeakeasySDK.Models.Shared;
286-
using System.Collections.Generic;
287246

288247
var sdk = new SDK(
289-
serverUrl: "https://api.prod.speakeasyapi.dev",
248+
serverUrl: "https://api.prod.speakeasy.com",
290249
security: new Security() {
291250
APIKey = "<YOUR_API_KEY_HERE>",
292251
}
293252
);
294253

295-
RemoteSource req = new RemoteSource() {
296-
Inputs = new List<RemoteDocument>() {
297-
new RemoteDocument() {
298-
RegistryUrl = "https://productive-swine.net",
299-
},
300-
},
301-
Output = new RemoteDocument() {
302-
RegistryUrl = "https://spiteful-apricot.info",
303-
},
304-
};
254+
RemoteSource req = ;
305255

306256
var res = await sdk.Artifacts.CreateRemoteSourceAsync(req);
307257

0 commit comments

Comments
 (0)