pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
Also when pasting the generated openapi.yml doc into the Swagger editor at https://editor.swagger.io/ several semantic errors are shown (and also the above bbox error).
Some fiddling revealed that there are two main issues in openapi doc generation, openapi.py:
time is ref'd but not declared, but datetime is. changing the latter to time solved that.
{featureId} is ref'd in paths but never declared, changing the latter to id solved that
With these two changes also the bbox error disappeared. It was probably not bbox-related....Also it would be good to pin versions of swagger-ui in the html template:
now 3.2.2 released May 21, 2019.
Error as below:
Also when pasting the generated
openapi.yml
doc into the Swagger editor at https://editor.swagger.io/ several semantic errors are shown (and also the above bbox error).Some fiddling revealed that there are two main issues in openapi doc generation,
openapi.py
:time
is ref'd but not declared, butdatetime
is. changing the latter totime
solved that.{featureId}
is ref'd in paths but never declared, changing the latter toid
solved thatWith these two changes also the
bbox
error disappeared. It was probably not bbox-related....Also it would be good to pin versions ofswagger-ui
in the html template: now 3.2.2 released May 21, 2019.