openapi-typescript-codegen icon indicating copy to clipboard operation
openapi-typescript-codegen copied to clipboard

Indent "tabs" write empty files

Open matschik opened this issue 2 years ago • 1 comments

Describe the bug When indent has value 'tabs', files are empty. When I set indent to "4", everything works well.

Command example to reproduce the bug: openapi --input openapi.json --output apiclient --client fetch --name AppClient --indent tabs

matschik avatar Dec 30 '23 09:12 matschik

@matschik did you try using tab? tabs is not a valid value. I wonder if the help documentation threw you off. I fixed that typo in @nicolas-chaulet/openapi-typescript-codegen

mrlubos avatar Feb 29 '24 00:02 mrlubos