[BUG][Typescript] Incorrect types generated due to case/naming differences
Created by: affanshahid
I have a schema, which types such as:
This generates a typescript interface like:
/**
*
* @export
* @interface VDN
*/
export interface VDN {
/**
*
* @type {string}
* @memberof VDN
*/
vdnExtension?: string;
/**
*
* @type {string}
* @memberof VDN
*/
vdnName?: string;
/**
*
* @type {Array<string>}
* @memberof VDN
*/
skills?: Array<string>;
/**
*
* @type {number}
* @memberof VDN
*/
acdEngineId?: number;
/**
*
* @type {number}
* @memberof VDN
*/
lobId?: number;
/**
*
* @type {string}
* @memberof VDN
*/
lobName?: string;
/**
*
* @type {string}
* @memberof VDN
*/
programId?: string;
}
The structure is technically correct, even the property names have been converted from snake-case to camelCase. However this is just for the type, when I actually use the generated client, the property names are same as the original, so really the converted property names in the response are all undefined. Am I doing something wrong?
Generator: typescript-axios
OpenAPI-Generator version: 0.0.11-4.0.0-beta3