#### Bug Report Checklist - [x] Have you provided a full/minimal spec to reproduce the issue? - [x] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagger-parser/online/))? - [x] What's the version of OpenAPI Generator used? - [x] Have you search for related issues/PRs? - [x] What's the actual output vs expected output? - [ ] [Optional] Bounty to sponsor the fix ([example](https://www.bountysource.com/issues/66123212-javascript-client-produces-a-wrong-object-for-a-string-enum-type-that-is-used-with-ref)) <!-- Please follow the issue template below for bug reports. Also please indicate in the issue title which language/library is concerned. Eg: [BUG][JAVA] Bug generating foo with bar --> ##### Description Compare these files in the samples directory: https://github.com/OpenAPITools/openapi-generator/blob/master/samples/client/petstore/typescript-fetch/builds/default/apis/PetApi.ts vs https://github.com/OpenAPITools/openapi-generator/blob/master/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/PetApi.ts ##### openapi-generator version Master branch ##### Suggest a fix Could not find reference to `withInterfaces` parameter in the mustache templates, and no difference in the generated api. Option should be removed from documentation or re-implemented for `typescript-fetch` https://openapi-generator.tech/docs/generators/typescript-fetch
Bug Report Checklist
Description
Compare these files in the samples directory:
https://github.com/OpenAPITools/openapi-generator/blob/master/samples/client/petstore/typescript-fetch/builds/default/apis/PetApi.ts
vs
https://github.com/OpenAPITools/openapi-generator/blob/master/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/PetApi.ts
openapi-generator version
Master branch
Suggest a fix
Could not find reference to
withInterfacesparameter in the mustache templates, and no difference in the generated api.Option should be removed from documentation or re-implemented for
typescript-fetchhttps://openapi-generator.tech/docs/generators/typescript-fetch