yunstanford/sanic-transmute

Add documentation in model

gsemet opened this issue · 2 comments

Hello

Sanic-transmute looks very cool, I like the idea of using annotation to describe the model of the API. How can I however add human readable documentation in the model so it will be displayed in the swagger UI (which is very cool!)

+1

You can add parameter_descriptions in decorator @describe. Also function doc_string also shows up in swagger page.