We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e16cc5 + 597f6f9 commit 08aee67Copy full SHA for 08aee67
README.rst
@@ -51,7 +51,7 @@ Now you can use it to validate requests
51
52
.. code-block:: python
53
54
- from openapi_core.validators import RequestValidator
+ from openapi_core.shortcuts import RequestValidator
55
56
validator = RequestValidator(spec)
57
result = validator.validate(request)
@@ -140,7 +140,7 @@ Response object should implement BaseOpenAPIResponse interface. You can use Flas
140
141
142
143
- from openapi_core.validators import ResponseValidator
+ from openapi_core.shortcuts import ResponseValidator
144
from openapi_core.wrappers.flask import FlaskOpenAPIResponse
145
146
openapi_response = FlaskOpenAPIResponse(flask_response)
0 commit comments