Commit 0f61c9ec by Xavier Ordoquy Committed by GitHub

Merge pull request #4286 from osantana/patch-1

Fix SwaggerRenderer implementation example
parents 6d4ada05 02a81d33
...@@ -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