-
Notifications
You must be signed in to change notification settings - Fork 3
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
OpenAPI definition of Content Type does not match the standard draft #10
Comments
The use of 'application/json-3dtiles' and 'application/json-i3s' as media types is not correct. These media types are not registered with IANA. In the case of 3D Tiles this also is in conflict with the use of 'application/json' in the 3D Tiles 1.1 draft specification. |
@cportele The intent was to register them, but that should also be aligned with the 3D Tiles specification. |
... and of course the i3s specification, too. Both are community standards and before thinking about registering media types this should be discussed with the owners of the specifications. Until then we should use 'application/json'. The media type definitions may also need more work. For example, would the 3D Tiles media type also apply to the subtree JSON documents, would that be 'application/json' or another media type? |
Well clients really needed a provisional way to know which links to follow (the i3s or the 3D Tiles BVH), which is why we used There is nothing else in the link that would have allowed to distinguish 3D Tiles from i3s, since in both cases the "Bounding Volume Hierarchy" rel (
I think that should be consistent. |
The enumeration given for the Content Type in the OpenAPI definition document does not match to standards draft document part 8. MEDIA TYPES FOR ANY DATA ENCODING(S)
Both the draft standard and the examples specify
application/json+3dtiles
andapplication/json+i3s
.The enumeration in the draft OpenAPI definition declares
application/json-3dtiles
andapplication/json-i3s
.Instead of editing the additional pattern, it could be omitted, since an enumeration already excludes all other types.
ogcapi-3d-geovolumes/standard/openapi/ogcapi-3d-geovolumes-draft-0.0.2.yaml
Lines 741 to 750 in 9ccc849
The text was updated successfully, but these errors were encountered: