mirror of
https://github.com/correl/openapi-core.git
synced 2025-03-12 17:00:09 -09:00
Merge pull request #102 from dxr3x/fix-readme-example
Fix import in an example
This commit is contained in:
commit
7da0c98ea5
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ You can also validate responses
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
from openapi_core.validators import ResponseValidator
|
||||
from openapi_core.shortcuts import ResponseValidator
|
||||
|
||||
validator = ResponseValidator(spec)
|
||||
result = validator.validate(request, response)
|
||||
|
|
Loading…
Add table
Reference in a new issue