Open ev-agelos opened 2 years ago
class Headers(BaseModel): authorization: str
I tried via validate(header=Headers) but if I use the field authorization or Authorization swagger UI 'try it out" doesnt put the header in the request. When I used another word for it, for example "auth", swagger did put it.
validate(header=Headers)
authorization
Authorization
I tried via
validate(header=Headers)
but if I use the fieldauthorization
orAuthorization
swagger UI 'try it out" doesnt put the header in the request. When I used another word for it, for example "auth", swagger did put it.