]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
✨ Add support for adding multiple examples in request bodies and path, query, cookie...
authorAustin Orr <austinorr@users.noreply.github.com>
Wed, 5 May 2021 18:20:56 +0000 (11:20 -0700)
committerGitHub <noreply@github.com>
Wed, 5 May 2021 18:20:56 +0000 (20:20 +0200)
commite10a4375f983b7b87ec6873b3c0b48cb482efbab
tree9dbbfbdd4249e817b9bd52a727f99febad6287c3
parent3e32eb55f09cb248a6ade43d50fc32c71556ef89
✨ Add support for adding multiple examples in request bodies and path, query, cookie, and header params (#1267)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
docs/en/docs/img/tutorial/body-fields/image02.png [new file with mode: 0644]
docs/en/docs/tutorial/schema-extra-example.md
docs_src/schema_extra_example/tutorial004.py [new file with mode: 0644]
fastapi/openapi/utils.py
fastapi/param_functions.py
fastapi/params.py
tests/test_schema_extra_examples.py [new file with mode: 0644]
tests/test_tutorial/test_schema_extra_example/__init__.py [new file with mode: 0644]
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py [new file with mode: 0644]