OpenAPI: skip failing collections (#1577) (#1585)

This commit is contained in:
Tom Kralidis
2024-03-11 18:33:52 -04:00
committed by GitHub
parent d128d5273b
commit d8a1b741ed
3 changed files with 740 additions and 671 deletions
+4
View File
@@ -49,6 +49,10 @@ To generate the OpenAPI document as JSON, run:
property names and their data types. Whenever you make changes to your pygeoapi configuration,
always refresh the accompanying OpenAPI document.
.. note::
By default, pygeoapi OpenAPI document generation will fail on any collection whose provider is improperly
configured or when encountering a connection issue. To skip failing collections, use the
--no-fail-on-invalid-collection flag. The OpenAPI document will then be generated without the failing collection(s)
.. seealso::
:ref:`openapi` for more information on pygeoapi's OpenAPI support
+1 -1
View File
@@ -13,7 +13,7 @@ The official OpenAPI specification can be found `on GitHub <https://github.com/O
pygeoapi supports OpenAPI version 3.0.2.
As described in :ref:`administration`, the pygeoapi OpenAPI document is automatically generated based on the
configuration file:
configuration file.
The API is accessible at the ``/openapi`` endpoint, providing a Swagger-based webpage of the API description..
+735 -670
View File
File diff suppressed because it is too large Load Diff