Hey. I'm using the HTTP Domain for documenting a REST API, and for
usual POST parameters I would do something like:

.. http:post:: myhost/resource

   This method posts something.

   :form someparam: This is a parameter.
   :type int:

But I'm using a JSON body. Can I use an existing HTTP Domain option or
directive to get this:

JSON Parameters:
   * someparam (number) -- This is a parameter.

...instead of this...

Form Parameters:
   someparam (int) -- This is a parameter.

...?

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to