- 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
feat: support for reusable pathItems definitions in components for OAS 3.1 #35
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
Conversation
| All contributors have signed the CLA  ✍️ ✅ | 
| I have read the CLA Document and I hereby sign the CLA | 
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.
Please add a test in 'Document Group test' that makes sure that we are properly getting rid of operations that are not included in the group. Also it would be nice to check that we can handle mixed use of the regular pathItems and the referenced ones in one document.
| 
 added 2 tests | 
# Conflicts: # package.json
| return typeof value === 'object' && value !== null | ||
| } | ||
|  | ||
| export const getSymbolValueIfDefined = <T extends object>( | 
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 do not get, what is the benefit to have this method compared to just using obj[symbol]?
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.
The logic is simple - type conversion and validation in a separate place.
# Conflicts: # .github/super-linter.env
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.
We have a logic that reduces path items to particular operation in a single-operation specification during build build type, but there's no corresponding test.
I believe we should add one.
There's a similar test for reducedSourceSpecifications build type ('should have documents stripped of operations other than from provided group'), but not build build type.
No description provided.