`withAlias` is applied regardless of option
scarf005 opened this issue · comments
openapi-zod-client/lib/src/template-context.ts
Lines 232 to 245 in a356ff8
openapi-zod-client/lib/src/getZodiosEndpointDefinitionList.ts
Lines 67 to 72 in a356ff8
openapi-zod-client/lib/src/getZodiosEndpointDefinitionList.ts
Lines 159 to 169 in a356ff8
despite the docs, an alias will be generated even if withAlias is set to false
. is this intended behavior?
weird but no it's not, feel free to make a PR for that ! 🙏
alright, but i think it'll be a good idea to set withAlias default to true to not introduce a breaking change both to users and tests.