Merge pull request #201 from mmanhertz/patch-1

Fix OpenAPI version in examples
This commit is contained in:
2018-11-06 05:12:51 -05:00
committed by GitHub
+2 -2
View File
@@ -61,7 +61,7 @@ Responder comes with built-in support for OpenAPI / marshmallow::
import responder
from marshmallow import Schema, fields
api = responder.API(title="Web Service", version="1.0", openapi="3.0")
api = responder.API(title="Web Service", version="1.0", openapi="3.0.0")
@api.schema("Pet")
@@ -112,7 +112,7 @@ Interactive Documentation
Responder can automatically supply API Documentation for you. Using the example above::
api = responder.API(title="Web Service", version="1.0", openapi="3.0", docs_route="/docs")
api = responder.API(title="Web Service", version="1.0", openapi="3.0.0", docs_route="/docs")
This will make ``/docs`` render interactive documentation for your API.