File tree Expand file tree Collapse file tree 14 files changed +8
-21
lines changed
tests/integration/validation Expand file tree Collapse file tree 14 files changed +8
-21
lines changed Original file line number Diff line number Diff line change 1
1
import sys
2
2
from os import path
3
3
from pathlib import Path
4
- from typing import Tuple
5
4
6
5
from jsonschema_path .handlers import all_urls_handler
7
6
from jsonschema_path .handlers import file_handler
Original file line number Diff line number Diff line change 3
3
from importlib .resources import as_file
4
4
from importlib .resources import files
5
5
from os import path
6
- from typing import Tuple
7
6
8
7
from jsonschema_path .readers import FilePathReader
9
8
from jsonschema_path .typing import Schema
Original file line number Diff line number Diff line change 3
3
import warnings
4
4
from collections .abc import Mapping
5
5
from typing import Optional
6
- from typing import Type
7
6
8
7
from jsonschema_path import SchemaPath
9
8
from jsonschema_path .handlers import all_urls_handler
Original file line number Diff line number Diff line change 1
1
from collections .abc import Iterable
2
2
from collections .abc import Iterator
3
3
from typing import Generic
4
- from typing import List
5
4
from typing import TypeVar
6
5
7
6
T = TypeVar ("T" )
Original file line number Diff line number Diff line change 3
3
from collections .abc import Sequence
4
4
from typing import TYPE_CHECKING
5
5
from typing import Any
6
- from typing import List
7
6
from typing import Optional
8
7
from typing import cast
9
8
Original file line number Diff line number Diff line change 1
1
"""OpenAPI spec validator validation proxies module."""
2
2
3
3
import warnings
4
- from collections .abc import Hashable
5
4
from collections .abc import Iterator
6
5
from collections .abc import Mapping
7
- from typing import Any
8
6
from typing import Optional
9
- from typing import Tuple
10
7
11
8
from jsonschema .exceptions import ValidationError
12
9
from jsonschema_path .typing import Schema
Original file line number Diff line number Diff line change 2
2
3
3
from collections .abc import Mapping
4
4
from typing import DefaultDict
5
- from typing import Type
6
5
7
6
from openapi_spec_validator .validation .keywords import KeywordValidator
8
7
Original file line number Diff line number Diff line change 1
- from typing import Type
2
-
3
1
from openapi_spec_validator .validation .validators import SpecValidator
4
2
5
3
SpecValidatorType = type [SpecValidator ]
Original file line number Diff line number Diff line change 5
5
from collections .abc import Iterator
6
6
from collections .abc import Mapping
7
7
from functools import lru_cache
8
- from typing import List
9
8
from typing import Optional
10
- from typing import Type
11
9
from typing import cast
12
10
13
11
from jsonschema .exceptions import ValidationError
Original file line number Diff line number Diff line change 1
- from typing import List
2
-
3
1
from openapi_spec_validator .versions .datatypes import SpecVersion
4
2
5
3
OPENAPIV2 = SpecVersion (
You can’t perform that action at this time.
0 commit comments