-
-
Notifications
You must be signed in to change notification settings - Fork 543
Wrong generated type when processing enums containing "null" #482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you create a pull request with a failing test, and we take it from there? |
drwpow
pushed a commit
that referenced
this issue
Mar 2, 2021
* add failing test * fix generated type when processing enums containing "null" Fix issue #482 * remove useless code * avoid double null when enum contains null and is nullable Co-authored-by: Federico Bevione <[email protected]>
Thanks! Closed via #492 👏🏼 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
with swagger 2 definition like the following
the following code is generated
resulting in a syntax error:
SyntaxError: '=>' expected.
This could be related to #447 and #234
openapi-typescript version: 3.0.1
The text was updated successfully, but these errors were encountered: