From 3f5521fdfb59db1365736dd99221731e6c14341f Mon Sep 17 00:00:00 2001 From: Andrew Widdersheim Date: Thu, 13 Jun 2019 12:31:48 -0400 Subject: [PATCH] :memo: Fix default response model docs (#288) Fix a discrepancy in the `tax` parameters default value between the docs and the code example. --- docs/tutorial/response-model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/response-model.md b/docs/tutorial/response-model.md index 8b389f236..00c9b987c 100644 --- a/docs/tutorial/response-model.md +++ b/docs/tutorial/response-model.md @@ -93,7 +93,7 @@ Your response model could have default values, like: ``` * `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: `[]`. but you might want to omit them from the result if they were not actually stored.