diff --git a/toucan_connectors/http_api/http_api_connector.py b/toucan_connectors/http_api/http_api_connector.py index c25b3695f..8db48df50 100644 --- a/toucan_connectors/http_api/http_api_connector.py +++ b/toucan_connectors/http_api/http_api_connector.py @@ -83,7 +83,9 @@ class HttpAPIConnector(ToucanConnector, data_source_model=HttpAPIDataSource): None, description="You can provide a custom template that will be used for every HTTP request", ) - http_pagination_config: HttpPaginationConfig | None = Field(None, title="Pagination configuration") + http_pagination_config: HttpPaginationConfig | None = Field( + None, title="Pagination configuration", discriminator="kind" + ) def do_request(self, query, session): """