OpenDRR / pygeoapi

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.
https://pygeoapi.io
MIT License
0 stars 1 forks source link

Pull in patch for pre-generated OpenAPI JSON #4

Closed jvanulde closed 3 years ago

jvanulde commented 3 years ago

As per PR: https://github.com/geopython/pygeoapi/pull/657

The revised workflow would be:

pygeoapi generate-openapi-document -c opendrr.config.yml -f json > opendrr.openapi.json # this will take awhile
export PYGEOAPI_CONFIG=/path/to/opendrr.config.yml
export PYGEOAPI_OPENAPI=/path/to/opendrr.openapi.json
pygeoapi serve
arashmalekz commented 3 years ago

I tested using json schema and it's good. Dev is working fine now. https://geo-api.dev.riskprofiler.ca/openapi?f=html

jvanulde commented 3 years ago

Excellent @arashmalekz!