Commit 02a81d33 by Osvaldo Santana Neto Committed by GitHub

Fix SwaggerRenderer implementation example

parent 6d4ada05
...@@ -246,7 +246,7 @@ to the Open API ("Swagger") format: ...@@ -246,7 +246,7 @@ to the Open API ("Swagger") format:
def render(self, data, media_type=None, renderer_context=None): def render(self, data, media_type=None, renderer_context=None):
codec = OpenAPICodec() codec = OpenAPICodec()
return OpenAPICodec.dump(data) return codec.dump(data)
--- ---
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment