feberbo opened a new pull request, #71693:
URL: https://github.com/apache/airflow/pull/71693

   Document the configured API pagination limit in the generated OpenAPI schema 
while preserving the existing runtime behavior that clamps oversized limits.
   
   The change:
   - Exposes `maximum_page_limit` as the OpenAPI `maximum` for the `limit` 
query parameter.
   - Clarifies the clamping behavior in the API documentation.
   - Adds a regression test covering both the schema and runtime behavior.
   
   Tests:
   - `uv run --project airflow-core pytest 
airflow-core/tests/unit/api_fastapi/common/test_parameters.py -q`
   - Result: 54 passed
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes (OpenAI Codex, GPT-5)
   
   Generated-by: OpenAI Codex (GPT-5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   
   ---
   
   * Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)**
 for more information.
   
   ---
   Drafted-by: OpenAI Codex (GPT-5) (no human review before posting)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to