Skip to content

Commit a81b34c

Browse files
author
Phil Varner
authored
Merge pull request #289 from radiantearth/remove-unused-openapi-spec-elements
remove unused openapi spec elements and fix several stac_version values
2 parents a5a380c + d2eb437 commit a81b34c

File tree

6 files changed

+9
-26
lines changed

6 files changed

+9
-26
lines changed

children/openapi.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ paths:
3838
schema:
3939
$ref: '../core/openapi.yaml#/components/schemas/landingPage'
4040
example:
41-
stac_version: 1.0.0-rc.1
41+
stac_version: '1.0.0'
4242
type: Catalog
4343
id: sentinel
4444
title: Copernicus Sentinel Imagery
@@ -107,16 +107,6 @@ components:
107107
application/json:
108108
schema:
109109
$ref: '#/components/schemas/children'
110-
InvalidParameter:
111-
description: |-
112-
A query parameter has an invalid value.
113-
content:
114-
application/json:
115-
schema:
116-
$ref: '../core/commons.yaml#/components/schemas/exception'
117-
NotFound:
118-
description: |-
119-
The requested URI was not found.
120110
ServerError:
121111
description: |-
122112
A server error occurred.

collections/openapi.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ paths:
3939
schema:
4040
$ref: '../core/openapi.yaml#/components/schemas/landingPage'
4141
example:
42-
stac_version: 1.0.0-rc.1
42+
stac_version: '1.0.0'
4343
type: Catalog
4444
id: sentinel
4545
title: Copernicus Sentinel Imagery
@@ -165,13 +165,6 @@ components:
165165
application/json:
166166
schema:
167167
$ref: '../core/commons.yaml#/components/schemas/collection'
168-
InvalidParameter:
169-
description: |-
170-
A query parameter has an invalid value.
171-
content:
172-
application/json:
173-
schema:
174-
$ref: '../core/commons.yaml#/components/schemas/exception'
175168
NotFound:
176169
description: |-
177170
The requested URI was not found.

core/commons.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ components:
148148
- type: string
149149
- type: number
150150
example:
151-
stac_version: 1.0.0
151+
stac_version: '1.0.0'
152152
stac_extensions: []
153153
type: Collection
154154
id: Sentinel-2
@@ -598,7 +598,7 @@ components:
598598
assets:
599599
$ref: '#/components/schemas/assets'
600600
example:
601-
stac_version: 1.0.0
601+
stac_version: '1.0.0'
602602
stac_extensions:
603603
- 'https://stac-extensions.github.io/eo/v1.0.0/schema.json'
604604
- 'https://stac-extensions.github.io/view/v1.0.0/schema.json'

core/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ components:
5858
$ref: '#/components/schemas/landingPage'
5959
example:
6060
type: Catalog
61-
stac_version: 1.0.0
61+
stac_version: '1.0.0'
6262
id: sentinel
6363
title: Copernicus Sentinel Imagery
6464
description: Catalog of Copernicus Sentinel 1 and 2 imagery.

ogcapi-features/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ paths:
3838
schema:
3939
$ref: '../core/openapi.yaml#/components/schemas/landingPage'
4040
example:
41-
stac_version: 1.0.0-rc.1
41+
stac_version: '1.0.0'
4242
type: Catalog
4343
id: sentinel
4444
title: Copernicus Sentinel Imagery

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)