mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 14:50:19 +00:00
Fixed missing .data on Marshmallow dump
This commit is contained in:
@@ -81,7 +81,7 @@ Responder comes with built-in support for OpenAPI / marshmallow::
|
||||
schema:
|
||||
$ref = "#/components/schemas/Pet"
|
||||
"""
|
||||
resp.media = PetSchema().dump({"name": "little orange"})
|
||||
resp.media = PetSchema().dump({"name": "little orange"}).data
|
||||
|
||||
|
||||
::
|
||||
|
||||
Reference in New Issue
Block a user