Description
The generated OpenAPI document lists GET and OPTIONS requests for Features endpoints, but does not list POST requests. This is particularly important for endpoints from providers which support CQL, though endpoints that don't support CQL also accept POST requests -- for instance:
curl --location --request POST 'https://demo.pygeoapi.io/master/collections/obs/items' --data-raw '{}'
Steps to Reproduce
Generate an OpenAPI document for a Features endpoint. Examples:
https://api.waterdata.usgs.gov/ogcapi/v0/openapi
https://api.weather.gc.ca/openapi?f=html
Expected behavior
I expected POST requests to be documented.
Environment
- pygeoapi version: 0.20.dev0
Description
The generated OpenAPI document lists GET and OPTIONS requests for Features endpoints, but does not list POST requests. This is particularly important for endpoints from providers which support CQL, though endpoints that don't support CQL also accept POST requests -- for instance:
Steps to Reproduce
Generate an OpenAPI document for a Features endpoint. Examples:
https://api.waterdata.usgs.gov/ogcapi/v0/openapi
https://api.weather.gc.ca/openapi?f=html
Expected behavior
I expected POST requests to be documented.
Environment