Merge pull request #4286 from osantana/patch-1

Fix SwaggerRenderer implementation example
This commit is contained in:
Xavier Ordoquy 2016-07-19 19:39:48 +02:00 committed by GitHub
commit 0f61c9ec29

View File

@ -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)
--- ---