razum2um / lurker

📖 The ultimate tool for documenting and testing APIs in Rails
https://lurker.razum2um.me/lurker
MIT License
116 stars 22 forks source link

Multiple type error #123

Open aderyabin opened 8 years ago

aderyabin commented 8 years ago

According to http://spacetelescope.github.io/understanding-json-schema/reference/type.html I can set optional type like this:

{ "type": ["number", "null"] }

but in real life I see that in output:

of type NilClass did not match the following type: object