@@ -28,6 +28,12 @@ This will dump the OpenAPI document as YAML to your system's ``stdout``. To sav
|
||||
|
||||
pygeoapi openapi generate /path/to/my-pygeoapi-config.yml > /path/to/my-pygeoapi-openapi.yml
|
||||
|
||||
You can also write to a file explicitly via the ``--output-file`` option::
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pygeoapi openapi generate /path/to/my-pygeoapi-config.yml --output-file /path/to/my-pygeoapi-openapi.yml
|
||||
|
||||
To generate the OpenAPI document as JSON, run:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
Reference in New Issue
Block a user