-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added __get_pydantic_json_schema__ method with format='tel' (#106)
* Added __get_pydantic_json_schema__ method with format='tel' * Formatted. * Added 'test_json_schema' * Reformatted. * Change format value from 'tel' to 'phone' * Update pydantic_extra_types/phone_numbers.py Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com> --------- Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
- Loading branch information
1 parent
a973b79
commit 843b753
Showing
2 changed files
with
26 additions
and
1 deletion.
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