This is an automated email from the ASF dual-hosted git repository. pierrejeambrun pushed a commit to branch v2-5-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 934e169ed14dc8538bca73577172ca19d0664726 Author: Steve Zhang <[email protected]> AuthorDate: Thu Jan 12 08:34:07 2023 -0800 clarify that the total_entries property isn't impact by pagination (#28867) Co-authored-by: Ash Berlin-Taylor <[email protected]> (cherry picked from commit 952952602161d353effa877fbb091cbfcf56068b) --- airflow/api_connexion/openapi/v1.yaml | 4 +++- airflow/www/static/js/types/api-generated.ts | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/airflow/api_connexion/openapi/v1.yaml b/airflow/api_connexion/openapi/v1.yaml index 3f25b54640..9e4ec7e1d4 100644 --- a/airflow/api_connexion/openapi/v1.yaml +++ b/airflow/api_connexion/openapi/v1.yaml @@ -4492,7 +4492,9 @@ components: properties: total_entries: type: integer - description: Count of objects in the current result set. + description: | + Count of total objects in the current result set before pagination parameters + (limit, offset) are applied. # Enums TaskState: diff --git a/airflow/www/static/js/types/api-generated.ts b/airflow/www/static/js/types/api-generated.ts index 1ec47bd7d1..8841cd7225 100644 --- a/airflow/www/static/js/types/api-generated.ts +++ b/airflow/www/static/js/types/api-generated.ts @@ -2040,7 +2040,10 @@ export interface components { }; /** @description Metadata about collection. */ CollectionInfo: { - /** @description Count of objects in the current result set. */ + /** + * @description Count of total objects in the current result set before pagination parameters + * (limit, offset) are applied. + */ total_entries?: number; }; /**
