Skip to content

Commit

Permalink
OpenApiSpec: add versionRef, range M..N
Browse files Browse the repository at this point in the history
Signed-off-by: qGYdXbY2 <[email protected]>
  • Loading branch information
qGYdXbY2 committed Apr 17, 2024
1 parent eca7da0 commit 89f36de
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions xyz-hub-service/src/main/resources/openapi-http-connector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,8 @@ components:
properties:
filters:
$ref: '#/components/schemas/Filters'
versionRef:
$ref: '#/components/schemas/VersionRef'
Filters:
type: object
description: An object to describe filters to be applied when reading data from a space
Expand Down Expand Up @@ -957,6 +959,24 @@ components:
$ref: '#/components/schemas/SpatialFilter'
context:
$ref: '#/components/schemas/Context'
VersionRef:
type: string
description: >-
Limit the dataset to a specific version or range.
Value can be either
- HEAD : most recent version of layer
- \* : all versions for features in layer
- tag : user provided string of tagged version of layer
- N : a specific version number N of layer
- M..N : range (M,N] of versions from layer
Context:
type: string
description: >-
Expand Down

0 comments on commit 89f36de

Please sign in to comment.