You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
schema.WithDescription("Controls which server is shown in usage snippets. If unset, no server will be shown. If an integer, it will be used as the server index. Otherwise, it will look for a matching server ID.")
ServerToShowInSnippetsstring`yaml:"serverToShowInSnippets,omitempty"`// If unset, no server will be shown, if an integer, use as server_idx, else look for a matching id
50
-
AdditionalPropertiesmap[string]any`yaml:",inline"`// Captures any additional properties that are not explicitly defined for backwards/forwards compatibility
60
+
_struct{} `additionalProperties:"true" description:"Configuration for usage snippets"`
61
+
OptionalPropertyRenderingOptionalPropertyRenderingOption`yaml:"optionalPropertyRendering" enum:"always,never,withExample" description:"Controls how optional properties are rendered in usage snippets"`
62
+
SDKInitStyleSDKInitStyle`yaml:"sdkInitStyle" enum:"constructor,builder" description:"Controls how the SDK initialization is depicted in usage snippets"`
63
+
ServerToShowInSnippetsServerIndex`yaml:"serverToShowInSnippets,omitempty"`// If unset, no server will be shown, if an integer, use as server_idx, else look for a matching id
64
+
AdditionalPropertiesmap[string]any`yaml:",inline" jsonschema:"-"`// Captures any additional properties that are not explicitly defined for backwards/forwards compatibility
AdditionalPropertiesmap[string]any`yaml:",inline"`// Captures any additional properties that are not explicitly defined for backwards/forwards compatibility
68
+
_struct{} `additionalProperties:"true" description:"Fixes applied to the SDK generation"`
69
+
NameResolutionDec2023bool`yaml:"nameResolutionDec2023,omitempty" description:"Enables name resolution fixes from December 2023"`
70
+
NameResolutionFeb2025bool`yaml:"nameResolutionFeb2025" description:"Enables name resolution fixes from February 2025"`
71
+
ParameterOrderingFeb2024bool`yaml:"parameterOrderingFeb2024" description:"Enables parameter ordering fixes from February 2024"`
72
+
RequestResponseComponentNamesFeb2024bool`yaml:"requestResponseComponentNamesFeb2024" description:"Enables request and response component naming fixes from February 2024"`
73
+
SecurityFeb2025bool`yaml:"securityFeb2025" description:"Enables fixes and refactoring for security that were introduced in February 2025"`
74
+
SharedErrorComponentsApr2025bool`yaml:"sharedErrorComponentsApr2025" description:"Enables fixes that mean that when a component is used in both 2XX and 4XX responses, only the top level component will be duplicated to the errors scope as opposed to the entire component tree"`
75
+
AdditionalPropertiesmap[string]any`yaml:",inline" jsonschema:"-"`// Captures any additional properties that are not explicitly defined for backwards/forwards compatibility
OAuth2ClientCredentialsEnabledbool`yaml:"oAuth2ClientCredentialsEnabled" description:"Enables support for OAuth2 client credentials grant type"`
98
+
OAuth2PasswordEnabledbool`yaml:"oAuth2PasswordEnabled" description:"Enables support for OAuth2 resource owner password credentials grant type"`
99
+
HoistGlobalSecuritybool`yaml:"hoistGlobalSecurity" description:"Enables hoisting of operation-level security schemes to global level when no global security is defined"`
GenerateTestsbool`yaml:"generateTests" description:"Enables generation of tests"`
105
+
GenerateNewTestsbool`yaml:"generateNewTests" description:"Enables generation of new tests for any new operations in the OpenAPI specification"`
106
+
SkipResponseBodyAssertionsbool`yaml:"skipResponseBodyAssertions" description:"Skip asserting that the client got the same response bodies returned by the mock server"`
107
+
AdditionalPropertiesmap[string]any`yaml:",inline" jsonschema:"-"`// Captures any additional properties that are not explicitly defined for backwards/forwards compatibility
108
+
}
109
+
110
+
// PersistentEdits configures whether user edits to generated SDKs persist across regenerations
111
+
// When enabled, user changes are preserved via 3-way merge with Git tracking
112
+
typePersistentEditsstruct {
113
+
_struct{} `additionalProperties:"true" description:"Configures whether user edits to generated SDKs persist across regenerations"`
114
+
// Enabled allows user edits to generated SDK code to persist through regeneration
115
+
// Requires Git repository and creates a pristine branch for tracking
116
+
Enabledbool`yaml:"enabled,omitempty" description:"Enables preservation of user edits across SDK regenerations. Requires Git repository."`
117
+
118
+
// PristineBranch specifies the Git branch name for tracking pristine generated code
119
+
// Defaults to "sdk-pristine" if not specified
120
+
PristineBranchstring`yaml:"pristineBranch,omitempty" description:"The Git branch name for tracking pristine generated code. Defaults to 'sdk-pristine' if not specified."`
121
+
AdditionalPropertiesmap[string]any`yaml:",inline" jsonschema:"-"`// Captures any additional properties
BaseServerURLstring`yaml:"baseServerUrl,omitempty" description:"The base URL of the server. This value will be used if global servers are not defined in the spec."`
140
+
SDKClassNamestring`yaml:"sdkClassName,omitempty" description:"Generated name of the root SDK class"`
141
+
MaintainOpenAPIOrderbool`yaml:"maintainOpenAPIOrder,omitempty" description:"Maintains the order of parameters and fields in the OpenAPI specification"`
142
+
DeduplicateErrorsbool`yaml:"deduplicateErrors,omitempty" description:"Deduplicates errors that have the same schema"`
UseClassNamesForArrayFieldsbool`yaml:"useClassNamesForArrayFields,omitempty" description:"Use class names for array fields instead of the child's schema type"`
SkipErrorSuffixbool`yaml:"skipErrorSuffix,omitempty" description:"Skips the automatic addition of an error suffix to error types"`
148
+
InferSSEOverloadbool`yaml:"inferSSEOverload,omitempty" description:"Generates an overload if generator detects that the request body field 'stream: true' is used for client intent to request 'text/event-stream' response"`
149
+
SDKHooksConfigAccessbool`yaml:"sdkHooksConfigAccess,omitempty" description:"Enables access to the SDK configuration from hooks"`
AdditionalPropertiesmap[string]any`yaml:",inline"`// Captures any additional properties that are not explicitly defined for backwards/forwards compatibility
160
+
AdditionalPropertiesmap[string]any`yaml:",inline" jsonschema:"-"`// Captures any additional properties that are not explicitly defined for backwards/forwards compatibility
Enabledbool`yaml:"enabled" description:"Whether dev containers are enabled"`
129
166
// This can be a local path or a remote URL
130
-
SchemaPathstring`yaml:"schemaPath"`
131
-
AdditionalPropertiesmap[string]any`yaml:",inline"`// Captures any additional properties that are not explicitly defined for backwards/forwards compatibility
167
+
SchemaPathstring`yaml:"schemaPath" description:"Path to the schema file for the dev container"`
168
+
AdditionalPropertiesmap[string]any`yaml:",inline" jsonschema:"-"`// Captures any additional properties that are not explicitly defined for backwards/forwards compatibility
132
169
}
133
170
134
171
// Generation configuration for the inter-templated mockserver target for test generation.
135
172
typeMockServerstruct {
173
+
_struct{} `additionalProperties:"false" description:"Mock server generation configuration"`
136
174
// Disables the code generation of the mockserver target.
137
-
Disabledbool`yaml:"disabled"`
175
+
Disabledbool`yaml:"disabled" description:"Disables the code generation of the mock server target"`
0 commit comments