-
Notifications
You must be signed in to change notification settings - Fork 177
Expand file tree
/
Copy pathgen.yaml
More file actions
91 lines (91 loc) · 2.29 KB
/
gen.yaml
File metadata and controls
91 lines (91 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
configVersion: 2.0.0
generation:
sdkClassName: Mistral
maintainOpenAPIOrder: true
usageSnippets:
optionalPropertyRendering: withExample
sdkInitStyle: constructor
useClassNamesForArrayFields: true
fixes:
nameResolutionDec2023: true
nameResolutionFeb2025: true
parameterOrderingFeb2024: true
requestResponseComponentNamesFeb2024: true
securityFeb2025: true
sharedErrorComponentsApr2025: true
sharedNestedComponentsJan2026: true
nameOverrideFeb2026: true
methodSignaturesApr2024: true
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
hoistGlobalSecurity: true
inferSSEOverload: true
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
versioningStrategy: automatic
persistentEdits:
enabled: "true"
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 2.2.1
additionalDependencies:
dev:
pytest: ^8.2.2
pytest-asyncio: ^0.23.7
main: {}
allowedRedefinedBuiltins:
- id
- object
- input
- dir
asyncMode: both
authors:
- Mistral
baseErrorName: MistralError
clientServerStatusCodesAsErrors: true
constFieldCasing: normal
defaultErrorName: SDKError
description: Python Client SDK for the Mistral AI API.
enableCustomCodeRegions: true
enumFormat: union
envVarPrefix: MISTRAL
fixFlags:
asyncPaginationSep2025: true
conflictResistantModelImportsFeb2026: true
responseRequiredSep2024: true
flatAdditionalProperties: true
flattenGlobalSecurity: true
flattenRequests: true
flatteningOrder: parameters-first
forwardCompatibleEnumsByDefault: true
forwardCompatibleUnionsByDefault: tagged-only
imports:
option: openapi
paths:
callbacks: ""
errors: errors
operations: ""
shared: ""
webhooks: ""
inferUnionDiscriminators: true
inputModelSuffix: input
license: ""
maxMethodParams: 999
methodArguments: infer-optional-args
moduleName: mistralai.client
multipartArrayFormat: standard
outputModelSuffix: output
packageManager: uv
packageName: mistralai
preApplyUnionDiscriminators: true
pytestFilterWarnings: []
pytestTimeout: 0
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
useAsyncHooks: false