forked from opengeospatial/ogcapi-tiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openapi: Fixed problematic schemas breaking SwaggerUI with bundled ve…
…rsion only - swagger-cli was validating the schemas, bundling and validating the bundle without any warning - SwaggerUI was showing the API as invalid with these messages: "attribute components.schemas.tileSetMetadata.items is missing" - A $ref fully replaces sibling properties and should always be used alone: "Any members other than "$ref" in a JSON Reference object SHALL be ignored." https://datatracker.ietf.org/doc/html/draft-pbryan-zyp-json-ref-03#section-3 - See also: https://stackoverflow.com/questions/33565090/json-schema-property-description-and-ref-usage OAI/OpenAPI-Specification#556 OAI/OpenAPI-Specification#1514 swagger-api/swagger-editor#1184 - NOTE: We may need to update the 2DTMS schemas as well with this in mind
- Loading branch information
1 parent
ae6eefb
commit 8774823
Showing
9 changed files
with
404 additions
and
252 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters