-
Notifications
You must be signed in to change notification settings - Fork 136
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
Values in "examples" (section 10.4) can be of any type #59
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As written here:
However, the
schema
struct defines:In consequence it fails if there is a number in the examples array. The error message then looks like this:
I believe this is fixed by just changing
[]string
to[]interface{}
. Since theExamples
field seems to be unused in the generator the will be no conflict.The text was updated successfully, but these errors were encountered: