-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Feature - additional filter options: operationIds & method #71
base: main
Are you sure you want to change the base?
Conversation
- Filter by OperationIds - Filter by method
I'm doing something wrong with the tests, but not sure how to correct it. |
Question: When combining it with the Example
How can I limit the "inverse" to the "path" level? |
The original intent of the |
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.
Looking good - though I haven't pulled and tested yet. Just a few initial comments.
Co-authored-by: Mike Ralphson <[email protected]>
Co-authored-by: Mike Ralphson <[email protected]>
Co-authored-by: Mike Ralphson <[email protected]>
Not sure, I fully understand how I can delete the obj[key] via the state.parent?
Since in the recursion, that obj has already passed by?
|
|
…ionIds and prevent a unnecessary recurse
@MikeRalphson Let me know if you have more remarks or comments, that I can implement. I think it is good to go. |
hey @thim81 @MikeRalphson , hope you are doing great, any updates on this feature, would be a great addition to the package. |
@yjose I think that everything is ready. I cant see the change request that was asked, which seems more a Github issue on my end. I'm using this PR since Jan 2021 and I haven't ran into any issues. |
Thanks for the prod - I will test locally and check there's nothing outstanding before merging. |
by the way, i tried to filter opertionIds using using the following config : let options = {
flags: ['operationId'],
flagValues: operations, // array of strings
inverse: true,
strip: true,
valid: true,
info: true,
}; and look like its working but with missed parameters for paths with global parameters like |
@yjose could you create a failing testcase to show what is currently happening and what the output should be? |
I'm very interested in this feature. I'm not clear what if anything is holding up the approval and merge now? |
@mattadamson |
As mentioned #70, I have added 2 options: