Open mbj opened 5 years ago
👍 Thanks for opening this issue! 🏷 I have applied any labels matching special text in your issue.
The team will review the labels and make any necessary changes.
I just saw this bug now, unfortunately. I'll take a look, thanks for reporting.
Bug Report Checklist
Description
Using the
servant-client
generator, code that has a syntax error gets generated.openapi-generator version
4.0.0
OpenAPI declaration file content or url
https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json
Steps to reproduce
Other notes
The stripe spec is not valid, but AFAIK the generator skips over the invalid parts. So the syntax error could or could not relate to the "invalidness".
Related issues/PRs
could find none.
Suggest a fix
Sorry, my familiarity with this code base is too low to recommend a good one. I suspect that java syntax somehow leaks into the haskell gennerator, the escaped
<
and>
could be java generics syntax.