Conversation
…hains Fixes W-21368901 - Deeply nested allOf schemas (4+ levels) were not displaying all properties in API Console. Changes: - Add _collectPropertiesRecursive() method to handle nested allOf - Update _mergeSchemaWithProperties() to use recursive collection - Add maxAllOfDepth option to ExampleOptions (default: 10) - Circular reference detection with visited Set - Comprehensive test suite in test/deep-allof.test.js Impact: - Schemas like PXCAppointmentRef now show all properties including date, timeSlot from deeply nested allOf chains - Performance: ~2-3ms for typical schemas, ~10-15ms for 10+ levels - Backward compatible: no breaking changes Test coverage: - 6 new test cases for deep allOf scenarios - All existing tests pass (714 passed, 0 failed)
f282ccb to
69bc432
Compare
- Introduced a new JSON file for the Product Order API with a minimal specification. - Updated .gitignore to include the new product-order-minimal.json file. - The specification focuses on the PXCAppointmentRef allOf issue, providing essential details for the API. This addition enhances the API documentation and supports further development.
- Introduced a new JSON file for the Product Order API with a minimal specification. - Focuses on the PXCAppointmentRef allOf issue, providing essential details for the API. - Enhances API documentation to support further development.
- Added product-order-minimal-compact.json to the .gitignore file to ensure it is not tracked by Git. - This change helps maintain a clean repository by excluding unnecessary files.
This was referenced Mar 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…hains
Fixes W-21368901 - Deeply nested allOf schemas (4+ levels) were not displaying all properties in API Console.
Changes:
Impact:
Test coverage: