Skip to content

Commit 18be8e2

Browse files
committed
initial commit
0 parents  commit 18be8e2

File tree

250 files changed

+15971
-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.

250 files changed

+15971
-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: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
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: 672 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: StackOne
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: false
18+
oAuth2PasswordEnabled: false
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: StackOneError
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: StackOne.Client
50+
packageTags: ""
51+
responseFormat: envelope-http
52+
sourceDirectory: src

.speakeasy/out.openapi.yaml

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
speakeasyVersion: 1.582.0
2+
sources:
3+
StackOne:
4+
sourceNamespace: stack-one
5+
sourceRevisionDigest: sha256:ca91ee2cde2f57849543516ac0e262310c3ab1d80eb7191b18a0b450da8a4a24
6+
sourceBlobDigest: sha256:5c0528160c502ee027f319ad3267cbb1d7178d38f62cd19f3a1528087771d506
7+
tags:
8+
- latest
9+
- 1.0.0
10+
targets:
11+
stack-one:
12+
source: StackOne
13+
sourceNamespace: stack-one
14+
sourceRevisionDigest: sha256:ca91ee2cde2f57849543516ac0e262310c3ab1d80eb7191b18a0b450da8a4a24
15+
sourceBlobDigest: sha256:5c0528160c502ee027f319ad3267cbb1d7178d38f62cd19f3a1528087771d506
16+
codeSamplesNamespace: stack-one-csharp-code-samples
17+
codeSamplesRevisionDigest: sha256:22e8583711cf6702d081d1b5809774074aed05e6693da7872ca8a629faa50da7
18+
workflow:
19+
workflowVersion: 1.0.0
20+
speakeasyVersion: latest
21+
sources:
22+
StackOne:
23+
inputs:
24+
- location: https://api.eu1.stackone.com/oas/stackone.json
25+
output: .speakeasy/out.openapi.yaml
26+
registry:
27+
location: registry.speakeasyapi.dev/stackone/stackone/stack-one
28+
targets:
29+
stack-one:
30+
target: csharp
31+
source: StackOne
32+
codeSamples:
33+
registry:
34+
location: registry.speakeasyapi.dev/stackone/stackone/stack-one-csharp-code-samples
35+
labelOverride:
36+
fixedValue: Csharp (SDK)
37+
blocking: false

.speakeasy/workflow.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
workflowVersion: 1.0.0
2+
speakeasyVersion: latest
3+
sources:
4+
StackOne:
5+
inputs:
6+
- location: https://api.eu1.stackone.com/oas/stackone.json
7+
output: .speakeasy/out.openapi.yaml
8+
registry:
9+
location: registry.speakeasyapi.dev/stackone/stackone/stack-one
10+
targets:
11+
stack-one:
12+
target: csharp
13+
source: StackOne
14+
codeSamples:
15+
registry:
16+
location: registry.speakeasyapi.dev/stackone/stackone/stack-one-csharp-code-samples
17+
labelOverride:
18+
fixedValue: Csharp (SDK)
19+
blocking: false

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

0 commit comments

Comments
 (0)