metosin / ring-swagger

Swagger Spec for Clojure Web Apps
http://metosin.github.io/ring-swagger/doc/
371 stars 84 forks source link

Better error message when swagger-mapping fails #130

Closed ikitommi closed 6 years ago

ikitommi commented 7 years ago

java.lang.IllegalArgumentException: don't know how to convert class java.io.InputStream into a Swagger Schema. Check out ring-swagger docs for details. is quite opaque, could provide example how to fix this.

Deraen commented 7 years ago
ikitommi commented 6 years ago

Have seen worse errors.