Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

feat: add sort to GET /authors endpoint#3

Open
niclim wants to merge 1 commit intomainfrom
feat/add-sort-to-get-authors-endpoint
Open

feat: add sort to GET /authors endpoint#3
niclim wants to merge 1 commit intomainfrom
feat/add-sort-to-get-authors-endpoint

Conversation

@niclim
Copy link
Contributor

@niclim niclim commented Jun 29, 2023

Adds sortKey and sortOrder query parameters on the GET /authors endpoint.

Valid options for sortKey are "name", "created_at", "updated_at" and valid options are sortOrder are "asc", "desc"

Sample request: curl http://localhost:3030/authors?sortKey=name&sortOrder=desc

@github-actions
Copy link

APIs Changed

API Operation Changes Checks

openapi.yml (preview)

1 operation changed (view changelog)

⚠️ 2 / 110 failed

Summary of API changes for commit (075915b)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant