Fix wrong link in OAS components with nested pydantic.BaseModel
This commit is contained in:
@@ -68,7 +68,7 @@ class BodyGetter(AbstractInjector):
|
||||
except JSONDecodeError:
|
||||
raise HTTPBadRequest(
|
||||
text='{"error": "Malformed JSON"}', content_type="application/json"
|
||||
)
|
||||
) from None
|
||||
|
||||
kwargs_view[self.arg_name] = self.model(**body)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user