mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-20 08:30:58 +00:00
* [MySQL] Add identifierNamingConvention option Possible values are "original" to not transform original names and "snake_case". * [MySQL] Add option tests * [MySQL] Update doc * [MySQL] Add original name to comment
11 lines
708 B
Markdown
11 lines
708 B
Markdown
---
|
|
title: Config Options for mysql-schema
|
|
sidebar_label: mysql-schema
|
|
---
|
|
|
|
| Option | Description | Values | Default |
|
|
| ------ | ----------- | ------ | ------- |
|
|
|defaultDatabaseName|Default database name for all MySQL queries| ||
|
|
|jsonDataTypeEnabled|Use special JSON MySQL data type for complex model properties. Requires MySQL version 5.7.8. Generates TEXT data type when disabled| |true|
|
|
|identifierNamingConvention|Naming convention of MySQL identifiers(table names and column names). This is not related to database name which is defined by defaultDatabaseName option|<dl><dt>**original**</dt><dd>Do not transform original names</dd><dt>**snake_case**</dt><dd>Use snake_case names</dd><dl>|original|
|