square / fdoc

Documentation format and verification
Other
379 stars 59 forks source link

Add render_views to readme #66

Closed st0012 closed 8 years ago

st0012 commented 9 years ago

This is for #66

zachmargolis commented 9 years ago

How are you rendering your JSON? Are you using Jbuilder or something? A plain render json: has worked fine for me in multiple projets

st0012 commented 9 years ago

I am using jbuilder, but I don't specify what to render in my action, I use before action to set format to be :json, and seems that in this case fdoc can't get the view in tests.

st0012 commented 9 years ago

And if I use FDOC_SCAFFOLD=true to generate .fdoc file, the responseParameters's value will be just a {}