Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate swagger type information (#388)
* Check the length of re in dynamic path * Support chr type in the path. Use default string for missing type in the dynamic path Partially solve # 352 * Add test for chr * revamp plumber types to use a single source of truth * use local for helper method * clean up how swaggerInfo is handled in createPathRegex * clean up typeToRegexps * make it clear that `types` is a vector * use a warning instead of a stop call when an unknown plumber type is found. * fix test * make sure the unknown plumber type returns 'string' * news item
- Loading branch information
Showing
6 changed files
with
126 additions
and
50 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
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