You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: sortby
in: query
description: |-
**Extension:** Sort
An array of property names, prefixed by either "+" for ascending or
"-" for descending. If no prefix is provided, "+" is assumed.
required: false
schema:
type: string
example: '+id,-properties.eo:cloud_cover'
style: form
explode: false
OARec defines the sortBy parameter as:
name: sortby
in: query
description: |-
Specifies a comma-separated list of property names by which the response shall
be sorted. If the property name is preceded by a plus (+) sign it indicates
an ascending sort for that property. If the property name is preceded by a
minus (-) sign it indicates a descending sort for that property. If the
property is not preceded by a plus or minus, then the default sort order
implied is ascending (+).
required: false
schema:
type: array
minItems: 1
items:
type: string
pattern: '[+|-]?[A-Za-z_].*'
explode: false
style: form
These seem equivalent except for the use of pattern in OARec. We should either remove that or loosen it up a little ... perhaps [+|-]?.*.
See opengeospatial/ogcapi-processes#429 (comment).
The schema of the
defaultSortOrder
should be aligned with what STAC uses.The text was updated successfully, but these errors were encountered: