inaka / cowboy_swagger

Swagger integration for Cowboy (built on trails)

Home Page:http://inaka.net/blog/2015/08/19/cowboy-swagger/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CowboySwagger should support either binaries or io_lists for descriptions

HernanRivasAcosta opened this issue · comments

Right now, it only accepts strings that it checks with io_lib:printable_list/1

It's already working as good as it can possible work.
If anything, I would go exactly the other way: I would only accept binaries.
But as it is now, swagger understands both binaries and printable lists as json strings.
That's more than enough.