|
75 | 75 | "type": "boolean", |
76 | 76 | "description": "Maintains the order of parameters and fields in the OpenAPI specification" |
77 | 77 | }, |
| 78 | + "deduplicateErrors": { |
| 79 | + "type": "boolean", |
| 80 | + "description": "Deduplicates errors that have the same schema" |
| 81 | + }, |
78 | 82 | "usageSnippets": { |
79 | 83 | "$ref": "#/$defs/usageSnippets" |
80 | 84 | }, |
|
88 | 92 | "auth": { |
89 | 93 | "$ref": "#/$defs/auth" |
90 | 94 | }, |
| 95 | + "skipErrorSuffix": { |
| 96 | + "type": "boolean", |
| 97 | + "description": "Skips the automatic addition of an error suffix to error types" |
| 98 | + }, |
| 99 | + "inferSSEOverload": { |
| 100 | + "type": "boolean", |
| 101 | + "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" |
| 102 | + }, |
| 103 | + "sdkHooksConfigAccess": { |
| 104 | + "type": "boolean", |
| 105 | + "description": "Enables access to the SDK configuration from hooks" |
| 106 | + }, |
| 107 | + "schemas": { |
| 108 | + "$ref": "#/$defs/schemas" |
| 109 | + }, |
| 110 | + "requestBodyFieldName": { |
| 111 | + "type": "string", |
| 112 | + "description": "The name of the field to use for the request body in generated SDKs" |
| 113 | + }, |
91 | 114 | "mockServer": { |
92 | 115 | "$ref": "#/$defs/mockServer" |
93 | 116 | }, |
|
119 | 142 | "type": "string", |
120 | 143 | "enum": ["always", "never", "withExample"], |
121 | 144 | "description": "Controls how optional properties are rendered in usage snippets" |
| 145 | + }, |
| 146 | + "sdkInitStyle": { |
| 147 | + "type": "string", |
| 148 | + "enum": ["constructor", "builder"], |
| 149 | + "description": "Controls how the SDK initialization is depicted in usage snippets" |
| 150 | + }, |
| 151 | + "serverToShowInSnippets": { |
| 152 | + "type": ["string", "integer"], |
| 153 | + "description": "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." |
122 | 154 | } |
123 | 155 | }, |
124 | 156 | "additionalProperties": true |
|
142 | 174 | "requestResponseComponentNamesFeb2024": { |
143 | 175 | "type": "boolean", |
144 | 176 | "description": "Enables request and response component naming fixes from February 2024" |
| 177 | + }, |
| 178 | + "securityFeb2025": { |
| 179 | + "type": "boolean", |
| 180 | + "description": "Enables fixes and refactoring for security that were introduced in February 2025" |
| 181 | + }, |
| 182 | + "sharedErrorComponentsApr2025": { |
| 183 | + "type": "boolean", |
| 184 | + "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" |
145 | 185 | } |
146 | 186 | }, |
147 | 187 | "additionalProperties": true |
|
157 | 197 | "oAuth2PasswordEnabled": { |
158 | 198 | "type": "boolean", |
159 | 199 | "description": "Enables support for OAuth2 resource owner password credentials grant type" |
| 200 | + }, |
| 201 | + "hoistGlobalSecurity": { |
| 202 | + "type": "boolean", |
| 203 | + "description": "Enables hoisting of operation-level security schemes to global level when no global security is defined" |
| 204 | + } |
| 205 | + }, |
| 206 | + "additionalProperties": false |
| 207 | + }, |
| 208 | + "schemas": { |
| 209 | + "type": "object", |
| 210 | + "description": "Schema processing configuration", |
| 211 | + "properties": { |
| 212 | + "allOfMergeStrategy": { |
| 213 | + "type": "string", |
| 214 | + "enum": ["deepMerge", "shallowMerge"], |
| 215 | + "description": "Controls how allOf schemas are merged" |
160 | 216 | } |
161 | 217 | }, |
162 | 218 | "additionalProperties": false |
|
0 commit comments