···188188 * @example
189189 * ```ts
190190 * {
191191- * schemas: {
192192- * name: (name) => name.replace(/_v\d+_\d+_\d+_/, '_')
193193- * }
191191+ * schemaName: (name) => name.replace(/_v\d+_\d+_\d+_/, '_')
194192 * }
195193 * ```
196194 *
197197- * @default false
195195+ * @default undefined
198196 */
199199- schemas?:
200200- | boolean
201201- | {
202202- /**
203203- * Whether this feature is enabled.
204204- *
205205- * @default false
206206- */
207207- enabled?: boolean;
208208- /**
209209- * Customize the generated name of schema components.
210210- * When provided, this transformer is called for each schema key
211211- * in `components.schemas` to compute the new name.
212212- *
213213- * If the new name conflicts with an existing schema, the rename
214214- * is skipped for that schema.
215215- *
216216- * @default undefined
217217- */
218218- name?: NameTransformer;
219219- };
197197+ schemaName?: NameTransformer;
220198 };
221199 /**
222200 * **This is an experimental feature.**
···325303 /**
326304 * Rename schema component keys and automatically update all `$ref` pointers
327305 * throughout the specification.
306306+ *
307307+ * @default undefined
328308 */
329329- schemas: FeatureToggle & {
330330- /**
331331- * Customize the generated name of schema components.
332332- * When provided, this transformer is called for each schema key
333333- * in `components.schemas` to compute the new name.
334334- *
335335- * If the new name conflicts with an existing schema, the rename
336336- * is skipped for that schema.
337337- *
338338- * @default '{{name}}'
339339- */
340340- name: NameTransformer;
341341- };
309309+ schemaName?: NameTransformer;
342310 };
343311 /**
344312 * **This is an experimental feature.**