Closed
Description
Would it be possible to add an option to add a prefix or suffix to the generated types to prevent errors like:
import { Person } from './models/swagger-api.__generated__';
/// => Import declaration conflicts with local declaration of Person
E.g.:
npx swagger-typescript-api ... --suffix=model
Person
=> PersonModel
For example:
We are trying to use the generated types/interfaces with graphql-codegen, but the naming of the generated types conflict with the already existing (generated) graphql types.