The goal is to support both types of developers:
- those that have never heard about WFS - it should be possible to create a client using the OpenAPI definition (they may need to learn a little bit about geometry, etc., but it should not be required to read the WFS spec, for example);
- those that want to write a "generic" client that can access WFSs (and maybe WMSs, etc), i.e. are not specific for an specific API/server.
To make it simpler for the second group, should we include somewhere an array of requirements classes met by the server?
This could either be in the root resource or in some extension element in the OpenAPI document.
Here an example how this could be added to the root resource:
{
"collections" : [ ... ],
"conformsTo" : [
"http://www.opengis.net/spec/wfs-1/3.0/req/core",
"http://www.opengis.net/spec/wfs-1/3.0/req/geojson"
]
}
Those that do not care about WFS etc. could simply ignore that information.
The goal is to support both types of developers:
To make it simpler for the second group, should we include somewhere an array of requirements classes met by the server?
This could either be in the root resource or in some extension element in the OpenAPI document.
Here an example how this could be added to the root resource:
{ "collections" : [ ... ], "conformsTo" : [ "http://www.opengis.net/spec/wfs-1/3.0/req/core", "http://www.opengis.net/spec/wfs-1/3.0/req/geojson" ] }Those that do not care about WFS etc. could simply ignore that information.