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

   The `/auth/login` endpoint raises HTTP 400 when the `next` redirect URL is 
invalid or unsafe, but this response code was missing from the `responses` 
decorator — so the generated OpenAPI spec didn't document it.
   
   ## Changes:
   - Add `HTTP_400_BAD_REQUEST` to `create_openapi_http_exception_doc` for the 
login endpoint
   - Replace raw integer `400` with `status.HTTP_400_BAD_REQUEST` for 
consistency with the rest of the codebase
   


-- 
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