Skip to content

Commit c8d9819

Browse files
committed
chore: Fix capitalization
1 parent fecf6c6 commit c8d9819

File tree

873 files changed

+62962
-3269
lines changed

Some content is hidden

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

873 files changed

+62962
-3269
lines changed

.speakeasy/gen.lock

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

.speakeasy/gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ generation:
1616
oAuth2ClientCredentialsEnabled: false
1717
oAuth2PasswordEnabled: false
1818
csharp:
19-
version: 0.0.5
19+
version: 0.0.8
2020
additionalDependencies: []
2121
author: Gr4vy
2222
clientServerStatusCodesAsErrors: true
@@ -39,7 +39,7 @@ csharp:
3939
maxMethodParams: 4
4040
methodArguments: infer-optional-args
4141
outputModelSuffix: output
42-
packageName: gr4vy
42+
packageName: Gr4vy
4343
packageTags: gr4vy payments orchestration sdk pci credit cards
4444
responseFormat: flat
4545
sourceDirectory: src

.speakeasy/workflow.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sources:
88
- latest
99
openapi:
1010
sourceNamespace: openapi
11-
sourceRevisionDigest: sha256:95eb650ecacb975eb9073815235a8b8ab7406f8cd531ee233acda5897c4342b2
11+
sourceRevisionDigest: sha256:d9c27e67216b2bb5b2a48cbb1bca26ce5757d612cbacdc9265dbc2d2c01b7969
1212
sourceBlobDigest: sha256:401058100c062781b727963b34eca9058a912382df5931b40d824efb3a76e4f8
1313
tags:
1414
- latest
@@ -17,10 +17,10 @@ targets:
1717
csharp:
1818
source: openapi
1919
sourceNamespace: openapi
20-
sourceRevisionDigest: sha256:95eb650ecacb975eb9073815235a8b8ab7406f8cd531ee233acda5897c4342b2
20+
sourceRevisionDigest: sha256:d9c27e67216b2bb5b2a48cbb1bca26ce5757d612cbacdc9265dbc2d2c01b7969
2121
sourceBlobDigest: sha256:401058100c062781b727963b34eca9058a912382df5931b40d824efb3a76e4f8
2222
codeSamplesNamespace: openapi-csharp-code-samples
23-
codeSamplesRevisionDigest: sha256:d7fbc0b4260c8b29f6a86dfccc7fa5402d2f3d8bd01c79fe9decab46812e1559
23+
codeSamplesRevisionDigest: sha256:24b1f93c31096eec102340b21f86f0c803672f155dbac8674da7ac24a24bfa87
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

Gr4vy.sln

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gr4vy", "src\Gr4vy\Gr4vy.csproj", "{F0CE92B5-F3CC-45A2-AA83-118C38724EB1}"
4+
EndProject
5+
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Any CPU = Debug|Any CPU
9+
Release|Any CPU = Release|Any CPU
10+
EndGlobalSection
11+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+
{F0CE92B5-F3CC-45A2-AA83-118C38724EB1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13+
{F0CE92B5-F3CC-45A2-AA83-118C38724EB1}.Debug|Any CPU.Build.0 = Debug|Any CPU
14+
{F0CE92B5-F3CC-45A2-AA83-118C38724EB1}.Release|Any CPU.ActiveCfg = Release|Any CPU
15+
{F0CE92B5-F3CC-45A2-AA83-118C38724EB1}.Release|Any CPU.Build.0 = Release|Any CPU
16+
EndGlobalSection
17+
EndGlobal

NUGET.md

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
### Example
88

99
```csharp
10+
using Gr4vy;
11+
using Gr4vy.Models.Components;
1012
using System.Collections.Generic;
11-
using gr4vy;
12-
using gr4vy.Models.Components;
1313

14-
var sdk = new Gr4vy(
14+
var sdk = new Gr4vySDK(
1515
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
1616
merchantAccountId: "default"
1717
);
@@ -44,11 +44,11 @@ This SDK supports the following security scheme globally:
4444

4545
To authenticate with the API the `BearerAuth` parameter must be set when initializing the SDK client instance. For example:
4646
```csharp
47+
using Gr4vy;
48+
using Gr4vy.Models.Components;
4749
using System.Collections.Generic;
48-
using gr4vy;
49-
using gr4vy.Models.Components;
5050

51-
var sdk = new Gr4vy(
51+
var sdk = new Gr4vySDK(
5252
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
5353
merchantAccountId: "default"
5454
);
@@ -87,10 +87,10 @@ The following global parameter is available.
8787
### Example
8888

8989
```csharp
90-
using gr4vy;
91-
using gr4vy.Models.Components;
90+
using Gr4vy;
91+
using Gr4vy.Models.Components;
9292

93-
var sdk = new Gr4vy(
93+
var sdk = new Gr4vySDK(
9494
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
9595
merchantAccountId: "default"
9696
);
@@ -110,11 +110,11 @@ return value of `Next` is `null`, then there are no more pages to be fetched.
110110

111111
Here's an example of one such pagination call:
112112
```csharp
113-
using gr4vy;
114-
using gr4vy.Models.Components;
115-
using gr4vy.Models.Requests;
113+
using Gr4vy;
114+
using Gr4vy.Models.Components;
115+
using Gr4vy.Models.Requests;
116116

117-
var sdk = new Gr4vy(
117+
var sdk = new Gr4vySDK(
118118
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
119119
merchantAccountId: "default"
120120
);
@@ -143,11 +143,11 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
143143

144144
To change the default retry strategy for a single API call, simply pass a `RetryConfig` to the call:
145145
```csharp
146-
using gr4vy;
147-
using gr4vy.Models.Components;
148-
using gr4vy.Models.Requests;
146+
using Gr4vy;
147+
using Gr4vy.Models.Components;
148+
using Gr4vy.Models.Requests;
149149

150-
var sdk = new Gr4vy(
150+
var sdk = new Gr4vySDK(
151151
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
152152
merchantAccountId: "default"
153153
);
@@ -182,11 +182,11 @@ while(res != null)
182182

183183
If you'd like to override the default retry strategy for all operations that support retries, you can use the `RetryConfig` optional parameter when intitializing the SDK:
184184
```csharp
185-
using gr4vy;
186-
using gr4vy.Models.Components;
187-
using gr4vy.Models.Requests;
185+
using Gr4vy;
186+
using Gr4vy.Models.Components;
187+
using Gr4vy.Models.Requests;
188188

189-
var sdk = new Gr4vy(
189+
var sdk = new Gr4vySDK(
190190
retryConfig: new RetryConfig(
191191
strategy: RetryConfig.RetryStrategy.BACKOFF,
192192
backoff: new BackoffStrategy(
@@ -223,7 +223,7 @@ while(res != null)
223223

224224
Handling errors in this SDK should largely match your expectations. All operations return a response object or throw an exception.
225225

226-
By default, an API error will raise a `gr4vy.Models.Errors.APIException` exception, which has the following properties:
226+
By default, an API error will raise a `Gr4vy.Models.Errors.APIException` exception, which has the following properties:
227227

228228
| Property | Type | Description |
229229
|---------------|-----------------------|-----------------------|
@@ -236,31 +236,31 @@ When custom error responses are specified for an operation, the SDK may also thr
236236

237237
| Error Type | Status Code | Content Type |
238238
| --------------------------------------- | ----------- | ---------------- |
239-
| gr4vy.Models.Errors.Error400 | 400 | application/json |
240-
| gr4vy.Models.Errors.Error401 | 401 | application/json |
241-
| gr4vy.Models.Errors.Error403 | 403 | application/json |
242-
| gr4vy.Models.Errors.Error403Forbidden | 403 | application/json |
243-
| gr4vy.Models.Errors.Error403Active | 403 | application/json |
244-
| gr4vy.Models.Errors.Error404 | 404 | application/json |
245-
| gr4vy.Models.Errors.Error405 | 405 | application/json |
246-
| gr4vy.Models.Errors.Error409 | 409 | application/json |
247-
| gr4vy.Models.Errors.HTTPValidationError | 422 | application/json |
248-
| gr4vy.Models.Errors.Error425 | 425 | application/json |
249-
| gr4vy.Models.Errors.Error429 | 429 | application/json |
250-
| gr4vy.Models.Errors.Error500 | 500 | application/json |
251-
| gr4vy.Models.Errors.Error502 | 502 | application/json |
252-
| gr4vy.Models.Errors.Error504 | 504 | application/json |
253-
| gr4vy.Models.Errors.APIException | 4XX, 5XX | \*/\* |
239+
| Gr4vy.Models.Errors.Error400 | 400 | application/json |
240+
| Gr4vy.Models.Errors.Error401 | 401 | application/json |
241+
| Gr4vy.Models.Errors.Error403 | 403 | application/json |
242+
| Gr4vy.Models.Errors.Error403Forbidden | 403 | application/json |
243+
| Gr4vy.Models.Errors.Error403Active | 403 | application/json |
244+
| Gr4vy.Models.Errors.Error404 | 404 | application/json |
245+
| Gr4vy.Models.Errors.Error405 | 405 | application/json |
246+
| Gr4vy.Models.Errors.Error409 | 409 | application/json |
247+
| Gr4vy.Models.Errors.HTTPValidationError | 422 | application/json |
248+
| Gr4vy.Models.Errors.Error425 | 425 | application/json |
249+
| Gr4vy.Models.Errors.Error429 | 429 | application/json |
250+
| Gr4vy.Models.Errors.Error500 | 500 | application/json |
251+
| Gr4vy.Models.Errors.Error502 | 502 | application/json |
252+
| Gr4vy.Models.Errors.Error504 | 504 | application/json |
253+
| Gr4vy.Models.Errors.APIException | 4XX, 5XX | \*/\* |
254254

255255
### Example
256256

257257
```csharp
258+
using Gr4vy;
259+
using Gr4vy.Models.Components;
260+
using Gr4vy.Models.Errors;
258261
using System.Collections.Generic;
259-
using gr4vy;
260-
using gr4vy.Models.Components;
261-
using gr4vy.Models.Errors;
262262

263-
var sdk = new Gr4vy(
263+
var sdk = new Gr4vySDK(
264264
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
265265
merchantAccountId: "default"
266266
);
@@ -352,7 +352,7 @@ catch (Exception ex)
352352
// Handle exception data
353353
throw;
354354
}
355-
else if (ex is gr4vy.Models.Errors.APIException)
355+
else if (ex is Gr4vy.Models.Errors.APIException)
356356
{
357357
// Handle default exception
358358
throw;
@@ -382,11 +382,11 @@ If the selected server has variables, you may override its default values throug
382382
#### Example
383383

384384
```csharp
385+
using Gr4vy;
386+
using Gr4vy.Models.Components;
385387
using System.Collections.Generic;
386-
using gr4vy;
387-
using gr4vy.Models.Components;
388388

389-
var sdk = new Gr4vy(
389+
var sdk = new Gr4vySDK(
390390
server: "sandbox",
391391
id: "<id>",
392392
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
@@ -411,11 +411,11 @@ var res = await sdk.AccountUpdater.Jobs.CreateAsync(
411411

412412
The default server can also be overridden globally by passing a URL to the `serverUrl: string` optional parameter when initializing the SDK client instance. For example:
413413
```csharp
414+
using Gr4vy;
415+
using Gr4vy.Models.Components;
414416
using System.Collections.Generic;
415-
using gr4vy;
416-
using gr4vy.Models.Components;
417417

418-
var sdk = new Gr4vy(
418+
var sdk = new Gr4vySDK(
419419
serverUrl: "https://api.example.gr4vy.app",
420420
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
421421
merchantAccountId: "default"

0 commit comments

Comments
 (0)