-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: populate params jwt defaults (#373)
* feat: add JWT Default as parameter in constructSchema() * feat: add function to check if jwtDefaults exist in schema * feat: add tests for user defined jwt defaults for parameters * refactor: run eslint * refactor: fix tests * refactor: update test to reflect constructSchema changes * refactor: rename `jwtDefaults` to `globalDefaults` and extract out of Operation class * refactor: add try/catch for when jsonpointer throws an exception * refactor: fix merge conflicts * refactor: add `globalDefault` param into Operation.getParametersAsJsonSchema docblock * refactor: update test to remove `jwtDefault` from operation Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>
- Loading branch information
1 parent
bf650cf
commit 7a4acf7
Showing
4 changed files
with
75 additions
and
17 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
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