Table Of Contents

Previous topic

Exhaustive list of the validations provided by corniuce

Next topic

Cornice API

This Page

Example documentation

This is an example of what you can get with the Cornice auto documentation feature:

Below is the result of this directive:

.. services::
   :package: cornice.tests.validationapp

Services

Service at /service

POST

The request body should be a JSON object.

Response: json

GET

Response: json

Service at /service2

GET

Accepted content types:
  • application/json
  • text/json

Response: json

Service at /service3

GET

Response: json

Service at /filtered

POST

Response: json

GET

Response: json