From 0ef3064f68d63aac164feeb09fc82c20c98e2061 Mon Sep 17 00:00:00 2001 From: Ferran Llamas Date: Wed, 29 May 2024 18:05:12 +0200 Subject: [PATCH] include in schema (#2204) --- nucliadb/nucliadb/search/api/v1/ask.py | 2 -- nucliadb/nucliadb/search/api/v1/resource/ask.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/nucliadb/nucliadb/search/api/v1/ask.py b/nucliadb/nucliadb/search/api/v1/ask.py index 2f5c41f820..67b452b0a0 100644 --- a/nucliadb/nucliadb/search/api/v1/ask.py +++ b/nucliadb/nucliadb/search/api/v1/ask.py @@ -43,8 +43,6 @@ description="Ask questions on a Knowledge Box", tags=["Search"], response_model=SyncAskResponse, - # Add this to OpenAPI schema when endpoint is not in beta anymore - include_in_schema=False, ) @requires(NucliaDBRoles.READER) @version(1) diff --git a/nucliadb/nucliadb/search/api/v1/resource/ask.py b/nucliadb/nucliadb/search/api/v1/resource/ask.py index dbaf5838d6..718b6408e5 100644 --- a/nucliadb/nucliadb/search/api/v1/resource/ask.py +++ b/nucliadb/nucliadb/search/api/v1/resource/ask.py @@ -40,8 +40,6 @@ description="Ask questions to a resource", tags=["Search"], response_model=SyncAskResponse, - # Add this to OpenAPI schema when endpoint is not in beta anymore - include_in_schema=False, ) @requires(NucliaDBRoles.READER) @version(1)