pyeve / eve-swagger

Swagger extension for Eve-powered RESTful APIs
http://python-eve.org
Other
154 stars 43 forks source link

Unhashable type: "list" #127

Open shanewazabbas opened 1 year ago

shanewazabbas commented 1 year ago

Not sure if this library is even maintained. But this is a bug (definitions.py:186):

type = map.get(eve_type, (eve_type,))

because you can have a schema like this: "type": ["string", "integer"],

And so you get this error:

TypeError: unhashable type: 'list'