You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to generate only TypeScript types from my Swagger json specification using @openapitools/openapi-generator-cli, but it keeps generating API controllers and resources even though I've disabled API generation in the configuration.
Here's my current openapitools.json configuration:
I'm trying to generate only TypeScript types from my Swagger json specification using @openapitools/openapi-generator-cli, but it keeps generating API controllers and resources even though I've disabled API generation in the configuration.
Here's my current openapitools.json configuration:
Despite setting generateApis: false and other API-related flags to false, I'm still getting generated code like:
I only want the TypeScript types/interfaces to be generated, without any API-related code. How can I achieve this?
Things I've already tried:
Is there a way to generate only types using openapi-generator, or should I switch to a different tool? If so, what alternatives would you recommend?
The text was updated successfully, but these errors were encountered: