Skip to content
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

openapi-core is outdated #466

Open
Alopalao opened this issue Mar 19, 2024 · 0 comments
Open

openapi-core is outdated #466

Alopalao opened this issue Mar 19, 2024 · 0 comments
Assignees
Labels
epic_upgrade_py312 Upgrade deps tech_debt Tech debt

Comments

@Alopalao
Copy link

Alopalao commented Mar 19, 2024

openapi-core==0.19.0 has some issues including:

  • Not differentiating between numeric string and integers
  • Broken spec validation can cause to accept any request The default value for additionalProperties is true.
  • Changes to contentType support may break API calls in E2E tests without a header. Some UI functions utilize data type specification.
  • Three types of error messages: str(errors), errors.__cause__.schema_errors[i] and str(errors.__cause__)

So when updating this dependencies, it is worth to check these issues.

openapi-core has been updated to 0.18.2 since it is more stable but it was needed to overwrite the mimetype from Starlette request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic_upgrade_py312 Upgrade deps tech_debt Tech debt
Projects
None yet
Development

No branches or pull requests

2 participants