-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add method
Schema::parse_str_with_list
to parse root schemas with r…
…eferences (#104) * Add method `Schema::parse_str_with_list` Add a new method `Schema::parse_str_with_list` that can parse a root schema along with a list of named schemas. This method can be used to parse a root union that has named schema references, for example. This new method combines the functionality of `Schema::parse_str` with `Schema::parse_list`. * Run cargo fmt * Issue #104 - Minor cleanup and add more tests Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> --------- Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> Co-authored-by: Martin Tzvetanov Grigorov <[email protected]>
- Loading branch information
Showing
1 changed file
with
152 additions
and
11 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