This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Global Dependencies doc example not working as-is #4978
Labels
You can continue the conversation there. Go to discussion →
First Check
Commit to Help
Example Code
Description
TL;DR: maybe related to #4906
I was following the documentation of Global Dependencies and the example in the documentation is not working as expected.
I am getting the
422
status code with the following responseAdding a
default
parameter to theHeader(...)
solved the issueOperating System
Linux
Operating System Details
No response
FastAPI Version
0.78.0
Python Version
3.8.10
Additional Context
No response
The text was updated successfully, but these errors were encountered: