-
Notifications
You must be signed in to change notification settings - Fork 760
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle allOf/ref/circular structure interactions (via #1435)
* fix: support path parameter inclusion when used twice in a path * fix quote * add document test runner * harness! * break test cases into two files * rework runner * generateAbsoluteRefPatches in allOf * handle nock interception state * migrate expect@1 spies to jest via `jscodeshift -t node_modules/jest-codemods/dist/transformers/expect.js test` * install `jest-stare` test reporter * guard externally-nullable values in generateAbsoluteRefPatches * migrate misc. tests to new $$ref format * absolutify $$ref artifact pointers * use absolutifyPointer in generateAbsoluteRefPatches * expect circular reference resolution * add test cases for multi-member nested remoteRef->localRef allOf * add nested allOf->local+remoteRef->localRef->remoteRelativeRef cases * modify test to cover $ref nested within allOf member * clean up generateAbsoluteRefPatches * assert no errors in instantiation test cases * uninstall `mocha-webpack` * uninstall `jest-stare` * update lockfile * linter fixes * remove comment * add failing circular reference cases * update SWOS-109 circular reference tests * add file-level skips * create new `useCircularStructures` option * absolutify $refs that will be left unresolved because they complete a circular link * ignore presence of allOf path portions in ref plugin's pointerAlreadyInPath
- Loading branch information
Showing
26 changed files
with
1,884 additions
and
566 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,5 +23,7 @@ test/specmap/data/private | |
test/webpack-bundle/.tmp | ||
browser | ||
|
||
jest-stare | ||
|
||
# Automated releases | ||
release/.version |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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 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 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 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 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 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 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 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 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.