Replies: 1 comment
-
It seems like a bug. It looks like the generator is considering this list as an Enum. Can you send a PR? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, having this json spec:
I wonder if generated code is ok, i see that spec doesn't specify array item's types to be strings, but still it could be taken automatically as default values in spec give strong indication.
I mean, that's probably fine that generated field is of type Object, but when its trying to specify default values in java, it won't quote them and error happens:
Is that intended, should I fix spec or is it apigen bug?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions