Fix SwaggerRenderer implementation example

This commit is contained in:
Osvaldo Santana Neto 2016-07-19 14:15:49 -03:00 committed by GitHub
parent 6d4ada05ec
commit 02a81d3362

View File

@ -246,7 +246,7 @@ to the Open API ("Swagger") format:
def render(self, data, media_type=None, renderer_context=None):
codec = OpenAPICodec()
return OpenAPICodec.dump(data)
return codec.dump(data)
---