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
19,465 changes: 16,210 additions & 3,255 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ generation:
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
persistentEdits: {}
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
csharp:
version: 0.20.0
version: 0.21.0
additionalDependencies: []
author: Speakeasy
baseErrorName: BaseException
Expand Down
16 changes: 8 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.665.0
speakeasyVersion: 1.680.12
sources:
Apideck:
sourceNamespace: apideck
sourceRevisionDigest: sha256:fd2221f2c1bb29f592d649e4b0f37adba2f3bd06e36fadb6fa04a4d0963e04b7
sourceBlobDigest: sha256:b3d18b0c8dbc5fc0175268127c4cc40315ac3ca9484351dd1d1980bbc1fa6500
sourceRevisionDigest: sha256:5edb143b45369fbb03806f42292d67e32a3c4c760f18c811caaf13e0e4284a39
sourceBlobDigest: sha256:402ab8ef881f67b709b731b25aa2621fa3346f14d3262a529ac4fb26495b7580
tags:
- latest
- speakeasy-sdk-regen-1764264828
- 10.22.0
- speakeasy-sdk-regen-1764663873
- 10.23.5
targets:
apideck:
source: Apideck
sourceNamespace: apideck
sourceRevisionDigest: sha256:fd2221f2c1bb29f592d649e4b0f37adba2f3bd06e36fadb6fa04a4d0963e04b7
sourceBlobDigest: sha256:b3d18b0c8dbc5fc0175268127c4cc40315ac3ca9484351dd1d1980bbc1fa6500
sourceRevisionDigest: sha256:5edb143b45369fbb03806f42292d67e32a3c4c760f18c811caaf13e0e4284a39
sourceBlobDigest: sha256:402ab8ef881f67b709b731b25aa2621fa3346f14d3262a529ac4fb26495b7580
codeSamplesNamespace: apideck-csharp-code-samples
codeSamplesRevisionDigest: sha256:1a443d8143cd6842c0b2893702a9cf9ec7daabda491eaf0b79da9f27aac3ce2b
codeSamplesRevisionDigest: sha256:8167f8684c139c4a5d72a0e4e8d40e8c3cba190e7bce1ba9d97664f9f6ce05d2
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
11 changes: 3 additions & 8 deletions NUGET.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,12 @@ catch (System.Net.Http.HttpRequestException ex)
* [`BadRequestResponse`](./src/ApideckUnifySdk/Models/Errors/BadRequestResponse.cs): Bad Request. Status code `400`. *
* [`UnprocessableResponse`](./src/ApideckUnifySdk/Models/Errors/UnprocessableResponse.cs): Unprocessable. Status code `422`. *

<details><summary>Less common exceptions (2)</summary>
**Less common exceptions (2)**

* [`System.Net.Http.HttpRequestException`](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httprequestexception): Network connectivity error. For more details about the underlying cause, inspect the `ex.InnerException`.

* Inheriting from [`BaseException`](./src/ApideckUnifySdk/Models/Errors/BaseException.cs):
* [`ResponseValidationError`](./src/ApideckUnifySdk/Models/Errors/ResponseValidationError.cs): Thrown when the response data could not be deserialized into the expected type.
</details>

\* Refer to the [relevant documentation](#available-resources-and-operations) to determine whether an exception applies to a specific operation.
<!-- End Error Handling [errors] -->
Expand Down Expand Up @@ -491,8 +490,7 @@ var customHttpClient = new CustomHttpClient();
var sdk = new Apideck(client: customHttpClient);
```

<details>
<summary>You can also provide a completely custom HTTP client with your own configuration:</summary>
**You can also provide a completely custom HTTP client with your own configuration:**

```csharp
using ApideckUnifySdk.Utils;
Expand Down Expand Up @@ -534,10 +532,8 @@ var sdk = Apideck.Builder()
.WithClient(new AdvancedHttpClient())
.Build();
```
</details>

<details>
<summary>For simple debugging, you can enable request/response logging by implementing a custom client:</summary>
**For simple debugging, you can enable request/response logging by implementing a custom client:**

```csharp
public class LoggingHttpClient : ISpeakeasyHttpClient
Expand Down Expand Up @@ -567,7 +563,6 @@ public class LoggingHttpClient : ISpeakeasyHttpClient

var sdk = new Apideck(client: new LoggingHttpClient());
```
</details>

The SDK also provides built-in hook support through the `SDKConfiguration.Hooks` system, which automatically handles
`BeforeRequestAsync`, `AfterSuccessAsync`, and `AfterErrorAsync` hooks for advanced request lifecycle management.
Expand Down
Loading