Update cli docs (#1763)

Contributes towards #1531
This commit is contained in:
Robbe Sneyders
2023-10-29 14:23:21 +01:00
committed by GitHub
parent 4556779343
commit 99c7a13b53

View File

@@ -4,12 +4,6 @@ For convenience Connexion provides a command-line interface
(CLI). This interface aims to be a starting point in developing or (CLI). This interface aims to be a starting point in developing or
testing OpenAPI specifications with Connexion. testing OpenAPI specifications with Connexion.
The available commands are:
- ``connexion run``
All commands can run with -h or --help to list more information.
Running an OpenAPI specification Running an OpenAPI specification
-------------------------------- --------------------------------
@@ -22,12 +16,11 @@ To run your specification, execute in your shell:
.. code-block:: bash .. code-block:: bash
$ connexion run your_api.yaml --stub --debug $ connexion run your_api.yaml --stub
This command will tell Connexion to run the ``your_api.yaml`` This command will tell Connexion to run the ``your_api.yaml``
specification file attaching a stub operation (``--stub``) to the specification file attaching a stub operation (``--stub``) to the
unavailable operations/functions of your API and in debug mode unavailable operations/functions of your API, which will return a ``501 Not Implemented`` response.
(``--debug``).
The basic usage of this command is: The basic usage of this command is:
@@ -58,4 +51,4 @@ Your API specification file is not required to have any ``operationId``.
.. code-block:: bash .. code-block:: bash
$ connexion run your_api.yaml --mock=all -v $ connexion run your_api.yaml --mock=all