From d2eb4372f48b67bd1532233aa1bf979003b09e4b Mon Sep 17 00:00:00 2001 From: Phil Varner Date: Fri, 11 Mar 2022 08:42:34 -0500 Subject: [PATCH] remove unused openapi spec elements and fix several stac_version values --- children/openapi.yaml | 12 +----------- collections/openapi.yaml | 9 +-------- core/commons.yaml | 4 ++-- core/openapi.yaml | 2 +- ogcapi-features/openapi.yaml | 2 +- package-lock.json | 6 +++--- 6 files changed, 9 insertions(+), 26 deletions(-) diff --git a/children/openapi.yaml b/children/openapi.yaml index 64257916..e46faa15 100644 --- a/children/openapi.yaml +++ b/children/openapi.yaml @@ -38,7 +38,7 @@ paths: schema: $ref: '../core/openapi.yaml#/components/schemas/landingPage' example: - stac_version: 1.0.0-rc.1 + stac_version: '1.0.0' type: Catalog id: sentinel title: Copernicus Sentinel Imagery @@ -107,16 +107,6 @@ components: application/json: schema: $ref: '#/components/schemas/children' - InvalidParameter: - description: |- - A query parameter has an invalid value. - content: - application/json: - schema: - $ref: '../core/commons.yaml#/components/schemas/exception' - NotFound: - description: |- - The requested URI was not found. ServerError: description: |- A server error occurred. diff --git a/collections/openapi.yaml b/collections/openapi.yaml index c963a316..9d0e1edb 100644 --- a/collections/openapi.yaml +++ b/collections/openapi.yaml @@ -39,7 +39,7 @@ paths: schema: $ref: '../core/openapi.yaml#/components/schemas/landingPage' example: - stac_version: 1.0.0-rc.1 + stac_version: '1.0.0' type: Catalog id: sentinel title: Copernicus Sentinel Imagery @@ -165,13 +165,6 @@ components: application/json: schema: $ref: '../core/commons.yaml#/components/schemas/collection' - InvalidParameter: - description: |- - A query parameter has an invalid value. - content: - application/json: - schema: - $ref: '../core/commons.yaml#/components/schemas/exception' NotFound: description: |- The requested URI was not found. diff --git a/core/commons.yaml b/core/commons.yaml index 879dab6c..75a628aa 100644 --- a/core/commons.yaml +++ b/core/commons.yaml @@ -148,7 +148,7 @@ components: - type: string - type: number example: - stac_version: 1.0.0 + stac_version: '1.0.0' stac_extensions: [] type: Collection id: Sentinel-2 @@ -598,7 +598,7 @@ components: assets: $ref: '#/components/schemas/assets' example: - stac_version: 1.0.0 + stac_version: '1.0.0' stac_extensions: - 'https://stac-extensions.github.io/eo/v1.0.0/schema.json' - 'https://stac-extensions.github.io/view/v1.0.0/schema.json' diff --git a/core/openapi.yaml b/core/openapi.yaml index 574d41fa..3f5712dd 100644 --- a/core/openapi.yaml +++ b/core/openapi.yaml @@ -58,7 +58,7 @@ components: $ref: '#/components/schemas/landingPage' example: type: Catalog - stac_version: 1.0.0 + stac_version: '1.0.0' id: sentinel title: Copernicus Sentinel Imagery description: Catalog of Copernicus Sentinel 1 and 2 imagery. diff --git a/ogcapi-features/openapi.yaml b/ogcapi-features/openapi.yaml index 64385ad4..2f80dd59 100644 --- a/ogcapi-features/openapi.yaml +++ b/ogcapi-features/openapi.yaml @@ -38,7 +38,7 @@ paths: schema: $ref: '../core/openapi.yaml#/components/schemas/landingPage' example: - stac_version: 1.0.0-rc.1 + stac_version: '1.0.0' type: Catalog id: sentinel title: Copernicus Sentinel Imagery diff --git a/package-lock.json b/package-lock.json index 184c6c21..04260ee6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4800,7 +4800,7 @@ "resolved": "https://registry.npmjs.org/redoc/-/redoc-2.0.0-rc.64.tgz", "integrity": "sha512-zrM/vcONpbmyDUOpk7Ai7R/yZrT7W1+8ANJUB3b5kzaLQUx4VbrDoT4D6HHHquOnKx+5We4nOPPAi8fi/cqa8g==", "dependencies": { - "@redocly/openapi-core": "^1.0.0-rc.14", + "@redocly/openapi-core": "^1.0.0-beta.54", "@redocly/react-dropdown-aria": "^2.0.11", "classnames": "^2.3.1", "decko": "^1.2.0", @@ -11289,7 +11289,7 @@ "resolved": "https://registry.npmjs.org/redoc/-/redoc-2.0.0-rc.64.tgz", "integrity": "sha512-zrM/vcONpbmyDUOpk7Ai7R/yZrT7W1+8ANJUB3b5kzaLQUx4VbrDoT4D6HHHquOnKx+5We4nOPPAi8fi/cqa8g==", "requires": { - "@redocly/openapi-core": "^1.0.0-rc.14", + "@redocly/openapi-core": "^1.0.0-beta.54", "@redocly/react-dropdown-aria": "^2.0.11", "classnames": "^2.3.1", "decko": "^1.2.0", @@ -13299,4 +13299,4 @@ "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" } } -} \ No newline at end of file +}