Skip to content

Commit 01cf41e

Browse files
authored
TST: support openapi-core 0.14 SpecPath (#198)
* openapi-core 0.14: SpecPath * require openapi_core 0.14
1 parent 028cec5 commit 01cf41e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jupyterlab_server/tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def wrap_request(request, spec):
4444
# work around lack of support for path parameters which can contain slashes
4545
# https://github.com/OAI/OpenAPI-Specification/issues/892
4646
url = None
47-
for path in spec.paths:
47+
for path in spec['paths']:
4848
if url:
4949
continue
5050
has_arg = '{' in path

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ install_requires =
3838

3939

4040
[options.extras_require]
41-
test = codecov; ipykernel; pytest>=5.3.2; pytest-cov; jupyter_server[test]; openapi_core~=0.13.8; pytest-console-scripts; strict-rfc3339; ruamel.yaml; wheel
41+
test = codecov; ipykernel; pytest>=5.3.2; pytest-cov; jupyter_server[test]; openapi_core~=0.14.0; pytest-console-scripts; strict-rfc3339; ruamel.yaml; wheel
4242

4343
[options.packages.find]
4444
exclude = ['docs*']

0 commit comments

Comments
 (0)