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

Linting fixes #154

Merged
merged 1 commit into from
Jun 8, 2021
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
4 changes: 2 additions & 2 deletions .circleci/rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins:
# Apply some recommended defaults for consistency
- remark-preset-lint-consistent
- remark-preset-lint-recommended
- lint-no-html
# - lint-no-html
# General formatting
- - remark-lint-emphasis-marker
- '*'
Expand Down Expand Up @@ -40,4 +40,4 @@ plugins:
- space
# Tables
- remark-lint-table-pipes
- remark-lint-no-literal-urls
- remark-lint-no-literal-urls
32 changes: 22 additions & 10 deletions fragments/filter/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,21 @@ paths:
responses:
'200':
description: A JSON Schema defining the Queryables allowed in CQL expressions
content:
application/schema+json:
schema:
$ref: 'https://json-schema.org/draft/2019-09/schema'
# content:
# application/schema+json:
# schema:
# $ref: 'https://json-schema.org/draft/2019-09/schema'
default:
$ref: '../../core/commons.yaml#/components/responses/Error'
/collections/{collectionId}:
get:
parameters:
- in: path
name: collectionId
schema:
type: string
required: true
description: ID of Collection
responses:
'200':
description: Collection description
Expand All @@ -56,15 +63,22 @@ paths:
This endpoint returns a list of variable terms that can be used in CQL expressions. The
precise definition of this can be found in the OGC API - Features - Part 3: Filtering and the
Common Query Language (CQL) specification.
parameters:
- in: path
name: collectionId
schema:
type: string
required: true
description: ID of Collection
tags:
- Queryables
responses:
'200':
description: A JSON Schema defining the Queryables allowed in CQL expressions filtering only that collection
content:
application/schema+json:
schema:
$ref: 'https://json-schema.org/draft/2019-09/schema'
# content:
# application/schema+json:
# schema:
# $ref: 'https://json-schema.org/draft/2019-09/schema'
default:
$ref: '../../core/commons.yaml#/components/responses/Error'
components:
Expand Down Expand Up @@ -125,8 +139,6 @@ components:
A CQL filter expression in the 'cql-text' encoding.
type: string
filter-cql-json:
description: |
A CQL filter expression in the 'cql-json' encoding.
$ref: './cql.yml#/components/schemas/booleanValueExpression'
filter-lang:
description: |
Expand Down