From e190801e4a3fad352c27d71f106227f34245d95b Mon Sep 17 00:00:00 2001 From: Dex the DevEx Assistant Date: Wed, 29 Apr 2026 13:34:09 -0700 Subject: [PATCH 1/2] Fix hotel OpenAPI source links --- app/routers/hotel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routers/hotel.py b/app/routers/hotel.py index c55a7d8..b8f2510 100644 --- a/app/routers/hotel.py +++ b/app/routers/hotel.py @@ -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: [`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", @@ -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: [`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", From 820f86cf0613b4a0a73ff419e888b26c2c21b6a7 Mon Sep 17 00:00:00 2001 From: Dex the DevEx Assistant Date: Thu, 30 Apr 2026 12:16:41 -0700 Subject: [PATCH 2/2] Correct hotel OpenAPI source paths --- app/routers/hotel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routers/hotel.py b/app/routers/hotel.py index b8f2510..4c78397 100644 --- a/app/routers/hotel.py +++ b/app/routers/hotel.py @@ -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: [`routers/hotel.py`](https://github.com/couchbase-examples/python-quickstart-fastapi/blob/main/app/routers/hotel.py) \n\n Method: `hotel_autocomplete`", + 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", @@ -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: [`routers/hotel.py`](https://github.com/couchbase-examples/python-quickstart-fastapi/blob/main/app/routers/hotel.py) \n\n Method: `hotel_filter`", + 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",