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

Align Sort extension with DRAFT OGC API - Records - Part 1: Core #3

Open
philvarner opened this issue Oct 6, 2022 · 1 comment
Open
Assignees
Milestone

Comments

@philvarner
Copy link
Contributor

https://docs.ogc.org/DRAFTS/20-004.html#sorting-parameter-sortby

Primary issue is the "sortables" endpoint.

@philvarner philvarner added this to the v1.0.0-rc.3 milestone Oct 6, 2022
@philvarner philvarner self-assigned this Jun 6, 2023
@aaime
Copy link

aaime commented Sep 19, 2024

In addition to sortables, the schema for sortby is different, it's a plain list of strings, mimicking the GET syntax:

https://github.com/opengeospatial/ogcapi-records/blob/master/core/openapi/ogcapi-records-1-building-blocks.yaml#L113

    sortby:
      name: sortby
      in: query
      required: false
      schema:
        type: array
        minItems: 1
        items:
          type: string
          pattern: '[+|-]?[A-Za-z_].*'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants