Browse Source
The documentation incorrectly stated that clients could send None as a query parameter value. In reality, omitting a required parameter returns 422, and there is no standard HTTP mechanism to pass None as a query string value. Changes: - Updated docs to clarify that None in the type annotation means the OpenAPI schema marks the parameter as nullable - Added info box explaining the actual behavior - Fixed xfail tests to verify correct 422 behavior instead of expecting impossible 200 responses Closes #12419pull/15195/head
2 changed files with 30 additions and 13 deletions
Loading…
Reference in new issue