-
Notifications
You must be signed in to change notification settings - Fork 0
feat: path change due to moving a prefix from server.url to path classified as annotation #43
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
base: develop
Are you sure you want to change the base?
Conversation
…sified as annotation
…sified as annotation
|
|
||
| export function hidePathParamNames(path: string): string { | ||
| return path.replace(PATH_PARAMETER_REGEXP, PATH_PARAM_UNIFIED_PLACEHOLDER) | ||
| } |
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.
I have no comments but because all these manipulations like magic. So I would like to request some documentation for these operations because there a lot of utility functions calling each other and it's difficult to understand whole the algorithm
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.
Added jsdoc for path mapper.
| [obj[aggregatedDiffProperty]] = childrenDiffs | ||
| }else{ | ||
| // no diffs- no aggregated diffs get assigned | ||
| } |
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.
do we really need empty else?
and you may format the code
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.
Else is not empty, it contains comment:) This is to emphasize/remind the reader that in this case to aggregated diffs will be added.
Formatted code.
… and servers array in root object or path item object
…api-processor to avoid code duplication
…correct (has no url property)
feat: utility recursive method to aggregate diffs with rollup in merged tree