-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Speed up custom parsing #3715
Speed up custom parsing #3715
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: natasha41575 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
410161d
to
c3ea1bc
Compare
c3ea1bc
to
2fbb0b8
Compare
2fbb0b8
to
2f6a611
Compare
/lgtm thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
reference to #2825
Though you can now specify your own custom schema, doing so is pretty slow. Turns out this was because it was parsing it multiple times. This PR changes it to parse only once.
Also trimmed down the custom schema stored in krusty to the minimum necessary schema for the test cases, and added an example to the examples directory of how to use the new openapi field.