From b37510b0e306f6819971f64106617fb116974243 Mon Sep 17 00:00:00 2001 From: Guillermo Guridi Date: Fri, 1 Jun 2018 10:52:28 +0200 Subject: [PATCH] Fixed flask wrapper imports in readme doc --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 773576e..9d10776 100644 --- a/README.rst +++ b/README.rst @@ -86,7 +86,7 @@ Request object should implement BaseOpenAPIRequest interface. You can use FlaskO .. code-block:: python from openapi_core.validators import RequestValidator - from openapi_core.wrappers import FlaskOpenAPIRequest + from openapi_core.wrappers.flask import FlaskOpenAPIRequest openapi_request = FlaskOpenAPIRequest(flask_request) validator = RequestValidator(spec) @@ -141,7 +141,7 @@ Response object should implement BaseOpenAPIResponse interface. You can use Flas .. code-block:: python from openapi_core.validators import ResponseValidator - from openapi_core.wrappers import FlaskOpenAPIResponse + from openapi_core.wrappers.flask import FlaskOpenAPIResponse openapi_response = FlaskOpenAPIResponse(flask_response) validator = ResponseValidator(spec)