Skip to content

OpenAPI documents and normative statements #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cportele opened this issue Oct 13, 2017 · 3 comments
Closed

OpenAPI documents and normative statements #2

cportele opened this issue Oct 13, 2017 · 3 comments

Comments

@cportele
Copy link
Member

In another issue (#1), a discussion started about normative OpenAPI documents or normative elements in an OpenAPI document. Since this is out-of-scope of the other issue, I have created a new topic.

Beyond WFS, it might be worth seeking broader guidance (from the OAB perhaps?) as to whether API descriptions can be used at all to contain any normative constraints.

I would prefer that we come to a conclusion first of what we think works best and then discuss with the OAB, if they see any concerns.

But the answer to this question wouldn't stand in the way of continuing on the current WFS course (since you're currently just using it as a source of examples).

Yes, but some parts of the OpenAPI definition of a WFS implementation will be based upon normative statements. See https://github.com/opengeospatial/WFS_FES/blob/master/core/standard/clause_5_conventions.adoc#references-to-openapi-components-in-normative-statements.

The idea behind the general approach in the current draft is that it should be possible to implement a single API (i.e. have a single OpenAPI definition) that conforms to, for example, WFS, WMS and WMTS at the same time (and using the same segmentation of layers/feature collections). There are very likely still elements in the current draft that do not yet fit this idea, but it is on my list to review the normative statements, and the general text, from that perspective.

In other words, the idea is not to define standalone services, but more to define "building blocks" for an API that supports spatial aspects. This is closely related to the idea of the OGC essentials. In that sense the use of "service" in the names of our standards which implies that a WFS instance and a WMS instance are separate services would no longer be true.

@nmtoken
Copy link

nmtoken commented Nov 1, 2017

Does the use of "service" in the interface standard name really imply that that a WMS instance and a WFS instance must be separate services?

@cportele
Copy link
Member Author

cportele commented Nov 1, 2017

No. In the current standards a WMS 1.3 and a WFS 2.0 implementation will always be separate services, but the idea is that it should be possible to have an API/service instance described by a single OpenAPI definition that conforms to WFS 3.0 and other revisions of OGC web service standards that follow the same approach.

See also the OGC White Paper on APIs.

@cportele
Copy link
Member Author

Discussed during the meeting on 2017-11-28: Document the idea / approach in the document (WFS and other OGC web services, not specifically WMS).

@cportele cportele self-assigned this Nov 28, 2017
@cportele cportele added this to the Part 1, First Draft milestone Nov 28, 2017
cportele added a commit that referenced this issue Dec 14, 2017
pvretano added a commit that referenced this issue Dec 7, 2020
Merge changes from opengeospatial/ogcapi-features
jampukka added a commit to jampukka/ogcapi-features that referenced this issue Oct 10, 2023
cportele added a commit that referenced this issue Oct 19, 2023
Implementations: rename nls-fi to hakunapi #2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants