Fix README example

Rename from openapi_core.validators to openapi_core.shortcuts
This commit is contained in:
James White 2018-09-04 12:57:27 +01:00 committed by GitHub
parent 24109d9568
commit eff791d52e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,7 +85,7 @@ Request object should implement BaseOpenAPIRequest interface. You can use FlaskO
.. code-block:: python
from openapi_core.validators import RequestValidator
from openapi_core.shortcuts import RequestValidator
from openapi_core.wrappers.flask import FlaskOpenAPIRequest
openapi_request = FlaskOpenAPIRequest(flask_request)