-
-
Notifications
You must be signed in to change notification settings - Fork 35
Replace extractObjectSchema with JSON Schema flattening
#2595
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
Merged
Merged
Changes from 32 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
7cc1f3e
POC: detaching Diagnostics from extractObjectSchema by utilizing toJS…
RobinTail d1dce7b
rm redundant import.
RobinTail 70e4a14
Making the new implementation to accept JSON Schema, so that it can b…
RobinTail 9127977
Using the new implementation by depictRequestParams(), several things…
RobinTail ded851e
Using the new implementation by depictBody(). Pulled examples missing…
RobinTail c9c23b9
Removing old implementation and updating tests.
RobinTail 1604cc0
Minor: todo name.
RobinTail bfaa733
REF: new implementation to return flat JSON schema object.
RobinTail feb5afd
Feat: processing required props by the new implementation.
RobinTail 46a7bf8
Restoring required prop value in depictRequestParams.
RobinTail 5e6347e
Ref: naming.
RobinTail 9366d0f
Add depictObject to correct required props on requests.
RobinTail 2dbf950
Fixed todo: detached depict() from ensureCompliance().
RobinTail caeee54
support examples by flattenIO and using them in depictRequestParams.
RobinTail 73dcc90
Fix: handling own examples by depictBody.
RobinTail d2451ba
rm redundant import
RobinTail f46af92
rm unused helper.
RobinTail b7b0309
Fix: introducing depictRequest() to share its returns among depictReq…
RobinTail ca5d34f
RM: excludeExamplesFromDepicton() and depictExamples().
RobinTail 8f617ed
Updating the example docs (has issue).
RobinTail 3c90fa2
Fix: enabling pullProps in onEach.
RobinTail 6551241
Updating snapshots and remove redundant ones.
RobinTail d84b914
Ref: taking examples from flattened IO.
RobinTail b23e91e
No combining examples for unions, testing flattenIO for examples.
RobinTail c3b3e6c
mv examples handling outta props condition.
RobinTail 3b68db1
Testing records.
RobinTail 44754b5
Merge branch 'make-v24' into poc-rm-extractObjectSchema
RobinTail 1e9bc05
Merge branch 'make-v24' into poc-rm-extractObjectSchema
RobinTail 29b37f8
Fix coverage for flattenIO.
RobinTail 1332f66
rm console.log.
RobinTail 3bc2c80
Fix coverage for depictResponse.
RobinTail 4ee618f
Ref: straigthening condition on flattenIO.
RobinTail 4f29485
Ref: consistent handling of examples pulling for depictBody
RobinTail adae75e
Restoring and adjusting the test for depictObject.
RobinTail bb4d7cc
Fix: prevent duplicates in the flattened required props list.
RobinTail 8e8e4d8
REF: moving flattenIO into a dedicated JSON Schema helpers file.
RobinTail 32946e8
todo for refactoring.
RobinTail File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.