Feature - additional filter options: operationIds & method#71
Feature - additional filter options: operationIds & method#71thim81 wants to merge 8 commits intoMermade:mainfrom
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 |
MikeRalphson
left a comment
There was a problem hiding this comment.
Looking good - though I haven't pulled and tested yet. Just a few initial comments.
Co-authored-by: Mike Ralphson <mike.ralphson@gmail.com>
Co-authored-by: Mike Ralphson <mike.ralphson@gmail.com>
Co-authored-by: Mike Ralphson <mike.ralphson@gmail.com>
|
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: