Skip to content

fix: update openapi-spec-validator version#96

Merged
manchenkoff merged 1 commit into
manchenkoff:masterfrom
CoderCoco:master
Apr 24, 2025
Merged

fix: update openapi-spec-validator version#96
manchenkoff merged 1 commit into
manchenkoff:masterfrom
CoderCoco:master

Conversation

@CoderCoco

Copy link
Copy Markdown
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
Copy Markdown
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
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