mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* Use formance-sdk-go/v3 to in connector uninstall e2e test * Compile API docs from openapi spec * Generate go SDK locally for use in integration tests * Get rid of unnecessary redirect in e2e tests now that SDK is generated * Omit generated SDK code from codecoverage checks * Add flake and envrc for nix * Run Dirty and Tests CI steps with nix * Run pre-commit using nix * Remove duplicated steps from Earthfile * Fixes for linter * Add go generate to Justfile pre-commit * Still run Deploy on ubuntu-latest * Address coderabbit feedback
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
configVersion: 2.0.0
|
|
generation:
|
|
sdkClassName: Formance
|
|
maintainOpenAPIOrder: true
|
|
usageSnippets:
|
|
optionalPropertyRendering: withExample
|
|
useClassNamesForArrayFields: true
|
|
fixes:
|
|
nameResolutionDec2023: true
|
|
nameResolutionFeb2025: true
|
|
parameterOrderingFeb2024: true
|
|
requestResponseComponentNamesFeb2024: true
|
|
securityFeb2025: true
|
|
auth:
|
|
oAuth2ClientCredentialsEnabled: true
|
|
oAuth2PasswordEnabled: true
|
|
go:
|
|
version: 0.0.2
|
|
additionalDependencies: {}
|
|
allowUnknownFieldsInWeakUnions: false
|
|
clientServerStatusCodesAsErrors: true
|
|
defaultErrorName: SDKError
|
|
envVarPrefix: FORMANCE
|
|
flattenGlobalSecurity: true
|
|
imports:
|
|
option: openapi
|
|
paths:
|
|
callbacks: models/callbacks
|
|
errors: models/sdkerrors
|
|
operations: models/operations
|
|
shared: models/components
|
|
webhooks: models/webhooks
|
|
inputModelSuffix: input
|
|
maxMethodParams: 4
|
|
methodArguments: require-security-and-request
|
|
outputModelSuffix: output
|
|
packageName: github.com/formancehq/payments/pkg/client
|
|
responseFormat: envelope-http
|