Skip to content

Commit 4a8e43b

Browse files
First SDK
1 parent 0aef491 commit 4a8e43b

File tree

5,001 files changed

+223441
-0
lines changed

Some content is hidden

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

5,001 files changed

+223441
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This allows generated code to be indexed correctly
2+
*.cs linguist-generated=false
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Generate
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
id-token: write
8+
"on":
9+
workflow_dispatch:
10+
inputs:
11+
force:
12+
description: Force generation of SDKs
13+
type: boolean
14+
default: false
15+
set_version:
16+
description: optionally set a specific SDK version
17+
type: string
18+
schedule:
19+
- cron: 0 0 * * *
20+
pull_request:
21+
types:
22+
- labeled
23+
- unlabeled
24+
jobs:
25+
generate:
26+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
27+
with:
28+
force: ${{ github.event.inputs.force }}
29+
mode: pr
30+
set_version: ${{ github.event.inputs.set_version }}
31+
secrets:
32+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
33+
nuget_api_key: ${{ secrets.NUGET_API_KEY }}
34+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/sdk_publish.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
id-token: write
8+
"on":
9+
push:
10+
branches:
11+
- main
12+
paths:
13+
- .speakeasy/gen.lock
14+
workflow_dispatch: {}
15+
jobs:
16+
publish:
17+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
18+
with:
19+
target: client
20+
secrets:
21+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
22+
nuget_api_key: ${{ secrets.NUGET_API_KEY }}
23+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
obj/
2+
bin/
3+
debug/
4+
.DS_Store
5+
**/.speakeasy/temp/
6+
**/.speakeasy/logs/

.speakeasy/gen.lock

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

.speakeasy/gen.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
configVersion: 2.0.0
2+
generation:
3+
sdkClassName: Client
4+
maintainOpenAPIOrder: true
5+
usageSnippets:
6+
optionalPropertyRendering: withExample
7+
sdkInitStyle: constructor
8+
useClassNamesForArrayFields: true
9+
fixes:
10+
nameResolutionDec2023: true
11+
nameResolutionFeb2025: true
12+
parameterOrderingFeb2024: true
13+
requestResponseComponentNamesFeb2024: true
14+
securityFeb2025: true
15+
sharedErrorComponentsApr2025: true
16+
auth:
17+
oAuth2ClientCredentialsEnabled: true
18+
oAuth2PasswordEnabled: true
19+
sdkHooksConfigAccess: true
20+
tests:
21+
generateTests: false
22+
generateNewTests: true
23+
skipResponseBodyAssertions: false
24+
csharp:
25+
version: 0.0.1
26+
additionalDependencies: []
27+
author: Speakeasy
28+
baseErrorName: ClientError
29+
clientServerStatusCodesAsErrors: true
30+
defaultErrorName: APIException
31+
disableNamespacePascalCasingApr2024: true
32+
dotnetVersion: net8.0
33+
enableSourceLink: false
34+
flattenGlobalSecurity: true
35+
flatteningOrder: parameters-first
36+
imports:
37+
option: openapi
38+
paths:
39+
callbacks: Models/Callbacks
40+
errors: Models/Errors
41+
operations: Models/Requests
42+
shared: Models/Components
43+
webhooks: Models/Webhooks
44+
includeDebugSymbols: false
45+
inputModelSuffix: input
46+
maxMethodParams: 4
47+
methodArguments: infer-optional-args
48+
outputModelSuffix: output
49+
packageName: MollieApi
50+
packageTags: ""
51+
responseFormat: envelope-http
52+
sourceDirectory: src

0 commit comments

Comments
 (0)