Skip to content

Commit

Permalink
chore(docs): fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee authored Sep 27, 2023
1 parent 7250cc1 commit 4aac36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/todo-app/2-interacting-with-the-list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ default values for the dataclass we have defined:

.. figure:: images/swagger-dict-vs-dataclass.png

Documentation for the ``create_item`` route with ``data`` typed as a ``dict`` vs
Documentation for the ``add_item`` route with ``data`` typed as a ``dict`` vs
``dataclass``

Using a dataclass also gives you better validation: Omitting a key such as ``title``
Expand Down

0 comments on commit 4aac36d

Please sign in to comment.