Skip to content

Commit

Permalink
Merge pull request #482 from ways/master
Browse files Browse the repository at this point in the history
Fix yaml schema indentation
  • Loading branch information
chris-little authored Nov 29, 2023
2 parents 7b7bd1e + ab09b31 commit a736250
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 23 deletions.
12 changes: 6 additions & 6 deletions core/standard/abstract_tests/core/ATS_rc-bbox-definition.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ required: false
schema:
oneOf:
- items:
minItems: 4
maxItems: 4
type: number
type: array
type: array
minItems: 4
maxItems: 4
- items:
minItems: 6
maxItems: 6
type: number
type: array
type: array
minItems: 6
maxItems: 6
style: form
explode: false
----
Expand Down
2 changes: 1 addition & 1 deletion core/standard/openapi/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# OpenAPI definitions

This example API definition can be used to provide an OpenAPI 3.0 definition for an implementation of _OGC API - Environmental Data Retrieval_.
The API definition can be visualized with [SwaggerUI](https://petstore.swagger.io/?url=https://raw.githubusercontent.com/opengeospatial/ogcapi-environmental-data-retrieval/master/standard/openapi/ogcapi-environmental-data-retrieval-1.bundled.json).
The API definition can be visualized with [SwaggerUI](https://petstore.swagger.io/?url=https://raw.githubusercontent.com/opengeospatial/ogcapi-environmental-data-retrieval/master/core/standard/openapi/ogcapi-environmental-data-retrieval-1.bundled.json).

The list of supported paths should be adjusted in `ogcapi-environmental-data-retrieval-1.yaml`.

Expand Down
12 changes: 6 additions & 6 deletions core/standard/openapi/parameters/core/bbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ required: false
schema:
oneOf:
- items:
minItems: 4
maxItems: 4
type: number
type: array
type: array
minItems: 4
maxItems: 4
- items:
minItems: 6
maxItems: 6
type: number
type: array
type: array
minItems: 6
maxItems: 6
style: form
explode: false
6 changes: 3 additions & 3 deletions core/standard/openapi/schemas/collections/extent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ properties:
- items:
type: number
minItems: 4
maxItems: 4
type: array
maxItems: 4
type: array
- items:
type: number
minItems: 6
maxItems: 6
type: array
type: array
example:
- -180
- -90
Expand Down
12 changes: 6 additions & 6 deletions core/standard/requirements/core/REQ_rc-bbox-definition.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ required: false
schema:
oneOf:
- items:
minItems: 4
maxItems: 4
type: number
type: array
type: array
minItems: 4
maxItems: 4
- items:
minItems: 6
maxItems: 6
type: number
type: array
type: array
minItems: 6
maxItems: 6
style: form
explode: false
----
Expand Down
2 changes: 1 addition & 1 deletion docs/edr_api.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script>

function render() {
api_url = '../standard/openapi/ogcapi-environmental-data-retrieval-1.bundled.json';
api_url = '../core/standard/openapi/ogcapi-environmental-data-retrieval-1.bundled.json';
var ui = SwaggerUIBundle({
url: api_url,
dom_id: '#swagger-ui',
Expand Down

0 comments on commit a736250

Please sign in to comment.