Skip to content

Commit

Permalink
Merge pull request #444 from opengeospatial/Fix-OpenAPI-schema
Browse files Browse the repository at this point in the history
Update OpenAPI bundle for v1.1.0
  • Loading branch information
ghobona authored Jul 13, 2023
2 parents 972779d + 1d8da3f commit 5fccc1b
Show file tree
Hide file tree
Showing 19 changed files with 44,055 additions and 8,655 deletions.
52,663 changes: 44,037 additions & 8,626 deletions standard/openapi/ogcapi-environmental-data-retrieval-1.bundled.json

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions standard/openapi/ogcapi-environmental-data-retrieval-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ openapi: 3.0.3
info:
title: OGC API - Environmental Data Retrieval Standard
description: Example of OGC API - Environmental Data Retrieval Standard OpenAPI document
version: 1.0.1
contact:
name: Tom Kralidis
email: [email protected]
version: 1.1.0
license:
name: OGC License
url: 'https://www.ogc.org/legal'
Expand Down
3 changes: 1 addition & 2 deletions standard/openapi/paths/queries/area.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ post:
description: Return the data values for the data area defined by the query parameters
operationId: PostDataForArea
parameters:
- $ref: ../../parameters/collections/collectionId.yaml
$ref: ../../parameters/collections/collectionId.yaml
requestBody:
- $ref: ../../request-bodies/area.yaml
responses:
Expand All @@ -55,4 +55,3 @@ post:
$ref: ../../responses/queries/413.yaml
default:
$ref: ../../responses/core/exception.yaml

3 changes: 1 addition & 2 deletions standard/openapi/paths/queries/corridor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ post:
parameters:
- $ref: ../../parameters/collections/collectionId.yaml
requestBody:
- $ref: ../../request-bodies/corridor.yaml
$ref: ../../request-bodies/corridor.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand All @@ -59,4 +59,3 @@ post:
$ref: ../../responses/queries/413.yaml
default:
$ref: ../../responses/core/exception.yaml

3 changes: 1 addition & 2 deletions standard/openapi/paths/queries/cube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ post:
parameters:
- $ref: ../../parameters/collections/collectionId.yaml
requestBody:
- $ref: ../../request-bodies/cube.yaml
$ref: ../../request-bodies/cube.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand All @@ -53,4 +53,3 @@ post:
$ref: ../../responses/queries/413.yaml
default:
$ref: ../../responses/core/exception.yaml

2 changes: 1 addition & 1 deletion standard/openapi/paths/queries/instance-area.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ post:
- $ref: ../../parameters/collections/collectionId.yaml
- $ref: ../../parameters/queries/instanceId.yaml
requestBody:
- $ref: ../../request-bodies/area.yaml
$ref: ../../request-bodies/area.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand Down
3 changes: 1 addition & 2 deletions standard/openapi/paths/queries/instance-corridor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ post:
- $ref: ../../parameters/collections/collectionId.yaml
- $ref: ../../parameters/queries/instanceId.yaml
requestBody:
- $ref: ../../request-bodies/corridor.yaml
$ref: ../../request-bodies/corridor.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand All @@ -61,4 +61,3 @@ post:
$ref: ../../responses/queries/413.yaml
default:
$ref: ../../responses/core/exception.yaml

2 changes: 1 addition & 1 deletion standard/openapi/paths/queries/instance-cube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ post:
- $ref: ../../parameters/collections/collectionId.yaml
- $ref: ../../parameters/queries/instanceId.yaml
requestBody:
- $ref: ../../request-bodies/cube.yaml
$ref: ../../request-bodies/cube.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand Down
2 changes: 1 addition & 1 deletion standard/openapi/paths/queries/instance-location.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ post:
- $ref: ../../parameters/queries/instanceId.yaml
- $ref: ../../parameters/queries/locationId.yaml
requestBody:
- $ref: ../../request-bodies/location.yaml
$ref: ../../request-bodies/location.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand Down
2 changes: 1 addition & 1 deletion standard/openapi/paths/queries/instance-locations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ post:
- $ref: ../../parameters/collections/collectionId.yaml
- $ref: ../../parameters/queries/instanceId.yaml
requestBody:
- $ref: ../../request-bodies/locations.yaml
$ref: ../../request-bodies/locations.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand Down
2 changes: 1 addition & 1 deletion standard/openapi/paths/queries/instance-position.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ post:
- $ref: ../../parameters/collections/collectionId.yaml
- $ref: ../../parameters/queries/instanceId.yaml
requestBody:
- $ref: ../../request-bodies/position.yaml
$ref: ../../request-bodies/position.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand Down
3 changes: 1 addition & 2 deletions standard/openapi/paths/queries/instance-radius.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ post:
- $ref: ../../parameters/collections/collectionId.yaml
- $ref: ../../parameters/queries/instanceId.yaml
requestBody:
- $ref: ../../request-bodies/radius.yaml
$ref: ../../request-bodies/radius.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand All @@ -57,4 +57,3 @@ post:
$ref: ../../responses/queries/413.yaml
default:
$ref: ../../responses/core/exception.yaml

2 changes: 1 addition & 1 deletion standard/openapi/paths/queries/instance-trajectory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ post:
- $ref: ../../parameters/collections/collectionId.yaml
- $ref: ../../parameters/queries/instanceId.yaml
requestBody:
- $ref: ../../request-bodies/trajectory.yaml
$ref: ../../request-bodies/trajectory.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand Down
2 changes: 1 addition & 1 deletion standard/openapi/paths/queries/location.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ post:
- $ref: ../../parameters/collections/collectionId.yaml
- $ref: ../../parameters/queries/locationId.yaml
requestBody:
- $ref: ../../request-bodies/location.yaml
$ref: ../../request-bodies/location.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand Down
3 changes: 1 addition & 2 deletions standard/openapi/paths/queries/locations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ post:
parameters:
- $ref: ../../parameters/collections/collectionId.yaml
requestBody:
- $ref: ../../request-bodies/locations.yaml

$ref: ../../request-bodies/locations.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand Down
2 changes: 1 addition & 1 deletion standard/openapi/paths/queries/position.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ post:
parameters:
- $ref: ../../parameters/collections/collectionId.yaml
requestBody:
- $ref: ../../request-bodies/position.yaml
$ref: ../../request-bodies/position.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand Down
2 changes: 1 addition & 1 deletion standard/openapi/paths/queries/radius.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ post:
parameters:
- $ref: ../../parameters/collections/collectionId.yaml
requestBody:
- $ref: ../../request-bodies/radius.yaml
$ref: ../../request-bodies/radius.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand Down
3 changes: 1 addition & 2 deletions standard/openapi/paths/queries/trajectory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ post:
summary: 'Query end point for trajectory queries of collection {collectionId} defined by a wkt linestring and a iso8601 time period'
description: Return the data values for the data Polygon defined by the query parameters
operationId: PostDataForTrajectory

parameters:
- $ref: ../../parameters/collections/collectionId.yaml
requestBody:
- $ref: ../../request-bodies/trajectory.yaml
$ref: ../../request-bodies/trajectory.yaml
responses:
200:
$ref: ../../responses/queries/200.yaml
Expand Down
3 changes: 1 addition & 2 deletions standard/openapi/schemas/i18n.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
type: object
description: Object representing an internationalised string. TODO test that the
keys are valid language identifiers
description: Object representing an internationalised string.
additionalProperties:
type: string

0 comments on commit 5fccc1b

Please sign in to comment.