Skip to content

Commit 08aee67

Browse files
authored
Merge pull request #50 from domenkozar/patch-1
README: there's no such module as openapi_core.validators
2 parents 9e16cc5 + 597f6f9 commit 08aee67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Now you can use it to validate requests
5151

5252
.. code-block:: python
5353
54-
from openapi_core.validators import RequestValidator
54+
from openapi_core.shortcuts import RequestValidator
5555
5656
validator = RequestValidator(spec)
5757
result = validator.validate(request)
@@ -140,7 +140,7 @@ Response object should implement BaseOpenAPIResponse interface. You can use Flas
140140

141141
.. code-block:: python
142142
143-
from openapi_core.validators import ResponseValidator
143+
from openapi_core.shortcuts import ResponseValidator
144144
from openapi_core.wrappers.flask import FlaskOpenAPIResponse
145145
146146
openapi_response = FlaskOpenAPIResponse(flask_response)

0 commit comments

Comments
 (0)