Skip to content

Commit be07090

Browse files
authored
Merge pull request #472 from pvretano/bundle-validation
Change for bundle file validate using swagger-cli and Swagger API HUB.
2 parents 4049fb8 + fc89ff6 commit be07090

32 files changed

Lines changed: 1609 additions & 738 deletions

core/openapi/ogcapi-records-1-building-blocks.yaml

Lines changed: 329 additions & 656 deletions
Large diffs are not rendered by default.

core/openapi/ogcapi-records-1-example-all-in-one.yaml

Lines changed: 1184 additions & 0 deletions
Large diffs are not rendered by default.

core/openapi/ogcapi-records-1-example-ref-buildingblocks-bundle.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.0.3
1+
openapi: 3.1.0
22
info:
33
title: "OGC API - Records - Part 1: Core"
44
version: '1.0.0'
@@ -115,6 +115,14 @@ paths:
115115
operationId: describeCollection
116116
parameters:
117117
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/catalogId'
118+
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/bbox'
119+
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/datetime'
120+
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/limit'
121+
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/q'
122+
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/type'
123+
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/externalIds'
124+
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/ids'
125+
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/sortby'
118126
responses:
119127
'200':
120128
$ref: 'ogcapi-records-1-building-blocks.yaml#/components/responses/Catalog'
@@ -170,7 +178,7 @@ paths:
170178
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/limit'
171179
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/q'
172180
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/type'
173-
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/externalId'
181+
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/externalIds'
174182
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/ids'
175183
- $ref: 'ogcapi-records-1-building-blocks.yaml#/components/parameters/sortby'
176184
responses:

core/openapi/ogcapi-records-1-example-ref-schema-repo.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.0.3
1+
openapi: 3.1.0
22
info:
33
title: "OGC API - Records - Part 1: Core"
44
version: '1.0.0'
@@ -114,6 +114,14 @@ paths:
114114
operationId: describeCollection
115115
parameters:
116116
- $ref: 'parameters/catalogId.yaml'
117+
- $ref: 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/parameters/bbox.yaml'
118+
- $ref: 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/parameters/datetime.yaml'
119+
- $ref: 'https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/parameters/limit.yaml'
120+
- $ref: 'parameters/q.yaml'
121+
- $ref: 'parameters/type.yaml'
122+
- $ref: 'parameters/externalIds.yaml'
123+
- $ref: 'parameters/ids.yaml'
124+
- $ref: 'parameters/sortby.yaml'
117125
responses:
118126
'200':
119127
$ref: 'responses/Catalog.yaml'

core/openapi/parameters/ids.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: ids
33
in: query
4-
description:
4+
description: |-
55
The optional ids parameter allows a specific list of records, identified
66
by their identifiers, to be fetched from a catalog. Only records whose
77
identifier matches one of the values listed for this parameter shall appear

core/openapi/parameters/profile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: profile
33
in: query
4-
description:
4+
description: |-
55
One or more identifiers that provide information about additional
66
semantics (constraints, conventions, extensions), in addition to
77
those defined by the media type, that are associated with the

core/openapi/responses/BadRequest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description:
2+
description: |-
33
A client error occurred.
44
content:
55
application/json:

core/openapi/responses/Catalogs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description:
2+
description: |-
33
Information about the list of catalogs offered by this service.
44
content:
55
application/json:

core/openapi/responses/ConformanceDeclaration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description:
2+
description: |-
33
The URIs of all conformance classes supported by the server.
44
content:
55
application/json:

core/openapi/responses/InvalidParameter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description:
2+
description: |-
33
A query parameter has an invalid value.
44
content:
55
application/json:

0 commit comments

Comments
 (0)