Skip to content

Commit

Permalink
#292 mention --mock in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs committed Sep 29, 2016
1 parent f206d68 commit e8ffc95
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,14 @@ list run:
.. code-block:: bash
$ connexion run --help
Running a mock server
---------------------

You can run a simple server which returns example responses on every request.
The example responses must be defined in the ``examples`` response property of the OpenAPI specification.
Your API specification file is not required to have any ``operationId``.

.. code-block:: bash
$ connexion run your_api.yaml --mock=all -v

0 comments on commit e8ffc95

Please sign in to comment.