Skip to content

Commit

Permalink
allow html in markdown, fix problems with filter openapi spec
Browse files Browse the repository at this point in the history
  • Loading branch information
philvarner committed Jun 8, 2021
1 parent 89c306e commit eb130a4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
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

0 comments on commit eb130a4

Please sign in to comment.