Closed agoodno closed 10 years ago
The petstore example for create shows specifying a JSON body as the content submitted to the endpoint. Is there a way to specify that in swagger:docs?
You should be able to submit a body like this:
param :body, :body, :Tag, :required, "My tag object"
The petstore example for create shows specifying a JSON body as the content submitted to the endpoint. Is there a way to specify that in swagger:docs?