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

Fix performance issue in OpenAPI Schema validation logic #12494

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

imesh94
Copy link

@imesh94 imesh94 commented Jul 16, 2024

Fix performance issue in OpenAPI Schema validation logic

This PR will add following changes to overcome the performance degrade observed after enabling OpenAPI schema validation.
- Reuse the already created validator for each API in schema validation.
- Get OpenAPI object from the message context instead of creating a new OpenAPI object.

Issue link: https://github.com/wso2-enterprise/wso2-apim-internal/issues/6782

Doc Issue: Optional, link issue from [documentation repository]

Applicable Labels: Spec, product, version, type (specify requested labels)

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.

1 participant