Adam Lowry  committed e83d6e6

Add JSON Parameter along side form and query parameter

  • Participants
  • Parent commits 4607e19
  • Branches default

Comments (0)

Files changed (2)

File httpdomain/doc/index.rst

    :mimetype:`application/x-www-form-urlencoded` or
+``jsonparameter``, ``jsonparam``, ``json``
+   Description of a parameter passed by request content body, encoded in
+   :mimetype:`application/json`.
 ``statuscode``, ``status``, ``code``
    Description of response status code.

File httpdomain/sphinxcontrib/

                      names=('queryparameter', 'queryparam', 'qparam', 'query')),
         GroupedField('formparameter', label='Form Parameters',
                      names=('formparameter', 'formparam', 'fparam', 'form')),
+        GroupedField('jsonparameter', label='Json Parameters',
+                     names=('jsonparameter', 'jsonparam', 'json')),
         GroupedField('statuscode', label='Status Codes',
                      names=('statuscode', 'status', 'code'))