openapi-react-query-codegen
openapi-react-query-codegen copied to clipboard
A missing `prettier` formatter is silently ignored
Describe the bug
Generated files under "requests" have tabs instead of spaces although prettier
is configured otherwise.
To Reproduce
I have a .prettierrc
with
{
"useTabs": false
}
and run openapi-rq -i http://localhost:8080/swagger-ui/api.json -o src/api --format prettier
.
The generated *.ts files have tabs instead of spaces.
OpenAPI spec file
n/a
Expected behavior
Spaces instead of tabs should be used according to the prettier
configuration.
Additional context
- OS: Fedora Linux 40
- Version 1.3.0