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

Fix yaml schema indentation #482

Merged
merged 2 commits into from
Nov 29, 2023
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: 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
Loading