📝 Fix default response model docs (#288)

Fix a discrepancy in the `tax` parameters default value between the docs
and the code example.
This commit is contained in:
Andrew Widdersheim 2019-06-13 12:31:48 -04:00 committed by Sebastián Ramírez
parent 7244e4b612
commit 3f5521fdfb
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ Your response model could have default values, like:
``` ```
* `description: str = None` has a default of `None`. * `description: str = None` has a default of `None`.
* `tax: float = None` has a default of `None`. * `tax: float = 10.5` has a default of `10.5`.
* `tags: List[str] = []` has a default of an empty list: `[]`. * `tags: List[str] = []` has a default of an empty list: `[]`.
but you might want to omit them from the result if they were not actually stored. but you might want to omit them from the result if they were not actually stored.