Open mmangione opened 7 months ago
We patched this issue by amending L311 in blacksheep/server/openapi/v3.py to read:
return field_info.annotation
In order to ensure compatibility, the final change in the PR is as follows:
return field_info.annotation if type(field_info.annotation) is type else List[field_info.annotation.__args__[0]]
Hello,
We have had a BlackSheep app running for over a year. When we attempted to upgrade to 2.0.7, we ran into this error. It seems to be an error in the fundamental OpenAPI class. Since this was working fine until today, I think that it must be a bug in 1.0.9.
Here is the error message: