Skip to content

Commit de0c9e0

Browse files
authored
Merge pull request #30 from p1c2u/fix/validate-data-shortcut-import-fix
validate_data shortcut import fix
2 parents 7214eac + 353db1f commit de0c9e0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

openapi_core/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""OpenAPI core module"""
22
from openapi_core.shortcuts import (
3-
create_spec, validate_parameters, validate_body,
3+
create_spec, validate_parameters, validate_body, validate_data,
44
)
55

66
__author__ = 'Artur Maciąg'
@@ -9,4 +9,6 @@
99
__url__ = 'https://github.com/p1c2u/openapi-core'
1010
__license__ = 'BSD 3-Clause License'
1111

12-
__all__ = ['create_spec', 'validate_parameters', 'validate_body']
12+
__all__ = [
13+
'create_spec', 'validate_parameters', 'validate_body', 'validate_data',
14+
]

0 commit comments

Comments
 (0)