Skip to content
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

remove unused openapi spec elements and fix several stac_version values #289

Merged
merged 1 commit into from
Mar 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions children/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
9 changes: 1 addition & 8 deletions collections/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions core/commons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion core/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ogcapi-features/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.