Skip to content

Commit

Permalink
fixes search
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Nov 15, 2024
1 parent 7827e0d commit 78f1421
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
2 changes: 0 additions & 2 deletions api/specs/web-server/_folders.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
PutFolderBodyParams,
)
from models_library.generics import Envelope
from models_library.rest_pagination import PageQueryParameters
from simcore_service_webserver._meta import API_VTAG
from simcore_service_webserver.folders._models import (
FolderSearchQueryParams,
Expand Down Expand Up @@ -59,7 +58,6 @@ async def list_folders(
response_model=Envelope[list[FolderGet]],
)
async def list_folders_full_search(
_p: Annotated[PageQueryParameters, Depends()],
_q: Annotated[as_query(FolderSearchQueryParams), Depends()],
):
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2682,6 +2682,23 @@ paths:
summary: List Folders Full Search
operationId: list_folders_full_search
parameters:
- required: false
schema:
title: Filters
type: string
description: Custom filter query parameter encoded as JSON
name: filters
in: query
- required: false
schema:
title: Order By
type: string
description: Order by field (`description|modified|name`) and direction
(`asc|desc`). The default sorting order is `{"field":"modified","direction":"desc"}`.
default: '{"field":"modified","direction":"desc"}'
example: '{"field":"some_field_name","direction":"desc"}'
name: order_by
in: query
- required: false
schema:
title: Limit
Expand All @@ -2700,23 +2717,6 @@ paths:
default: 0
name: offset
in: query
- required: false
schema:
title: Filters
type: string
description: Custom filter query parameter encoded as JSON
name: filters
in: query
- required: false
schema:
title: Order By
type: string
description: Order by field (`description|modified|name`) and direction
(`asc|desc`). The default sorting order is `{"field":"modified","direction":"desc"}`.
default: '{"field":"modified","direction":"desc"}'
example: '{"field":"some_field_name","direction":"desc"}'
name: order_by
in: query
- required: false
schema:
title: Text
Expand Down

0 comments on commit 78f1421

Please sign in to comment.