Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/routers/hotel.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Hotel(BaseModel):
@router.get(
"/autocomplete",
response_model=List[HotelName],
description="Search for hotels based on their name. \n\n This provides an example of using [Search operations](https://docs.couchbase.com/python-sdk/current/howtos/full-text-searching-with-sdk.html#search-queries) in Couchbase to search for a specific name using the fts index.\n\n Code: [`api/hotel.py`](https://github.com/couchbase-examples/python-quickstart/blob/main/src/api/hotel.py) \n Method: `get`",
description="Search for hotels based on their name. \n\n This provides an example of using [Search operations](https://docs.couchbase.com/python-sdk/current/howtos/full-text-searching-with-sdk.html#search-queries) in Couchbase to search for a specific name using the fts index.\n\n Code: [`app/routers/hotel.py`](https://github.com/couchbase-examples/python-quickstart-fastapi/blob/main/app/routers/hotel.py) \n\n Method: `hotel_autocomplete`",
responses={
200: {
"description": "List of Hotel Names",
Expand Down Expand Up @@ -72,7 +72,7 @@ def hotel_autocomplete(
@router.post(
"/filter",
response_model=List[Hotel],
description="Filter hotels using various filters such as name, title, description, country, state and city. \n\n This provides an example of using [Search operations](https://docs.couchbase.com/python-sdk/current/howtos/full-text-searching-with-sdk.html#search-queries) in Couchbase to filter documents using the fts index.\n\n Code: [`api/hotel.py`](https://github.com/couchbase-examples/python-quickstart/blob/main/src/api/hotel.py) \n Method: `post`",
description="Filter hotels using various filters such as name, title, description, country, state and city. \n\n This provides an example of using [Search operations](https://docs.couchbase.com/python-sdk/current/howtos/full-text-searching-with-sdk.html#search-queries) in Couchbase to filter documents using the fts index.\n\n Code: [`app/routers/hotel.py`](https://github.com/couchbase-examples/python-quickstart-fastapi/blob/main/app/routers/hotel.py) \n\n Method: `hotel_filter`",
responses={
200: {
"description": "List of Hotel",
Expand Down
Loading