-
Notifications
You must be signed in to change notification settings - Fork 1
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
updated query parameter meta fields to support front-end filtering ba… #8
Conversation
…sed on openapi.json
title="Active only", | ||
description="Show only active servers", | ||
json_schema_extra={"category_id": FilterCategories.BASIC}, | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this should be True
by default?
json_schema_extra={"category_id": FilterCategories.PRICE, "step": 0.0001}, | ||
), | ||
] = None, | ||
only_active: Annotated[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to add to the SQL query
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've commited the changes suggested below, merging. Thanks!
…sed on openapi.json