Skip to content

fix: update openapi-spec-validator version #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2025

Conversation

CoderCoco
Copy link
Contributor

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.

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.
@manchenkoff
Copy link
Owner

Hey @CoderCoco, thanks a lot for the contribution! I'll publish a new release tonight

@manchenkoff manchenkoff merged commit 7977c07 into manchenkoff:master Apr 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants