only first newline is truncated from schema description
scarf005 opened this issue · comments
openapi-zod-client/lib/src/getZodiosEndpointDefinitionList.ts
Lines 241 to 244 in f71bfa9
as String.prototype.replace
replaces at most once, String.prototype.replaceAll
needs to be used instead.
however, stripping newlines could cause unexpected behavior. maybe template literal(`
) should be used instead?