Bug Report Checklist
Description
If there are model names with a dot separator in the yaml file ('cleanup.policy')
type: object
properties:
'cleanup.policy':
type: string
enum:
- compact
- delete
description:
default: delete
then the generator will convert them to snake_case if the "original" parameter is set
export interface Config {
/**
*
* @type {string}
* @memberof Config
*/
cleanup_policy?:
openapi-generator version
5.1.1
OpenAPI declaration file content or url
yaml
Generation Details
openapi-generator-cli generate -i openapi.yaml -g typescript-axios --additional-properties=withSeparateModelsAndApi=true,modelPropertyNaming=original,modelPackage=models,apiPackage=api,supportsES6=true -o ./src/api/v1
Steps to reproduce
see Description
Related issues/PRs
Suggest a fix
Keep original names even if dot is used there
Bug Report Checklist
Description
If there are model names with a dot separator in the yaml file ('cleanup.policy')
then the generator will convert them to snake_case if the "original" parameter is set
openapi-generator version
5.1.1
OpenAPI declaration file content or url
yaml
Generation Details
openapi-generator-cli generate -i openapi.yaml -g typescript-axios --additional-properties=withSeparateModelsAndApi=true,modelPropertyNaming=original,modelPackage=models,apiPackage=api,supportsES6=true -o ./src/api/v1
Steps to reproduce
see Description
Related issues/PRs
Suggest a fix
Keep original names even if dot is used there