Skip to content

Commit 4527f64

Browse files
authored
Merge pull request #154 from philvarner/linting-fixes
Linting fixes
2 parents 89c306e + eb130a4 commit 4527f64

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
lines changed

.circleci/rc.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins:
44
# Apply some recommended defaults for consistency
55
- remark-preset-lint-consistent
66
- remark-preset-lint-recommended
7-
- lint-no-html
7+
# - lint-no-html
88
# General formatting
99
- - remark-lint-emphasis-marker
1010
- '*'
@@ -40,4 +40,4 @@ plugins:
4040
- space
4141
# Tables
4242
- remark-lint-table-pipes
43-
- remark-lint-no-literal-urls
43+
- remark-lint-no-literal-urls

fragments/filter/openapi.yaml

+22-10
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,21 @@ paths:
3232
responses:
3333
'200':
3434
description: A JSON Schema defining the Queryables allowed in CQL expressions
35-
content:
36-
application/schema+json:
37-
schema:
38-
$ref: 'https://json-schema.org/draft/2019-09/schema'
35+
# content:
36+
# application/schema+json:
37+
# schema:
38+
# $ref: 'https://json-schema.org/draft/2019-09/schema'
3939
default:
4040
$ref: '../../core/commons.yaml#/components/responses/Error'
4141
/collections/{collectionId}:
4242
get:
43+
parameters:
44+
- in: path
45+
name: collectionId
46+
schema:
47+
type: string
48+
required: true
49+
description: ID of Collection
4350
responses:
4451
'200':
4552
description: Collection description
@@ -56,15 +63,22 @@ paths:
5663
This endpoint returns a list of variable terms that can be used in CQL expressions. The
5764
precise definition of this can be found in the OGC API - Features - Part 3: Filtering and the
5865
Common Query Language (CQL) specification.
66+
parameters:
67+
- in: path
68+
name: collectionId
69+
schema:
70+
type: string
71+
required: true
72+
description: ID of Collection
5973
tags:
6074
- Queryables
6175
responses:
6276
'200':
6377
description: A JSON Schema defining the Queryables allowed in CQL expressions filtering only that collection
64-
content:
65-
application/schema+json:
66-
schema:
67-
$ref: 'https://json-schema.org/draft/2019-09/schema'
78+
# content:
79+
# application/schema+json:
80+
# schema:
81+
# $ref: 'https://json-schema.org/draft/2019-09/schema'
6882
default:
6983
$ref: '../../core/commons.yaml#/components/responses/Error'
7084
components:
@@ -125,8 +139,6 @@ components:
125139
A CQL filter expression in the 'cql-text' encoding.
126140
type: string
127141
filter-cql-json:
128-
description: |
129-
A CQL filter expression in the 'cql-json' encoding.
130142
$ref: './cql.yml#/components/schemas/booleanValueExpression'
131143
filter-lang:
132144
description: |

0 commit comments

Comments
 (0)