acacode / swagger-typescript-api

Generate the API Client for Fetch or Axios from an OpenAPI Specification
MIT License
3.38k stars 361 forks source link

How could we have specific suffix for enum? #955

Open VladimirCores opened 1 month ago

VladimirCores commented 1 month ago

If we set --type-suffix DTO we will have this suffix in both interface and enum. Generation from script with enumKeySuffix: 'Type' have no effect, and seems do not work. The question how to add specific suffix for enums?

image