From d62f28516af9a9da4b4e584fbe8b260d999f7b07 Mon Sep 17 00:00:00 2001 From: CoderCoco Date: Thu, 24 Apr 2025 10:42:06 -0500 Subject: [PATCH] fix: update openapi-spec-validator version The Pipfile indicates that `openapi-spec-validator` version 0.7.1 is required, however the setup.py file specified a dependency of exactly 0.6.0. When pulling this project down via pip, this would cause the 0.6.0 version to be pulled and then the openapi3 parse would error because of a missing `validator` function that was introduced in the later version of the `openapi-spec-validator`. The workaround for this is to manually install `openapi-spec-validator` using `pip install openapi-spec-validator==0.7.1 --no-deps`. This fix should allow the correct version to be pulled on future releases of the `openapi3-parser` library. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 269e993..d7b89a9 100644 --- a/setup.py +++ b/setup.py @@ -29,6 +29,6 @@ ], install_requires=[ "prance>=0.20.2", - "openapi-spec-validator==0.6.0", + "openapi-spec-validator>=0.7.1", ], )