]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
✨ Allow array values for OpenAPI schema `type` field (#13639)
authorsammasak <lukraj2@gmail.com>
Sat, 20 Sep 2025 17:47:24 +0000 (19:47 +0200)
committerGitHub <noreply@github.com>
Sat, 20 Sep 2025 17:47:24 +0000 (17:47 +0000)
commit8ede27223e48386b4cc97302eea0818e2e767187
tree14902f6bd4cdb1cd5247dba085e9c33badf2914c
parent0358d3eab5bd27c4d71f9adb6a8e91184e936f5e
✨ Allow array values for OpenAPI schema `type` field (#13639)

Co-authored-by: Lukas Rajala <lukas.rajala@klarna.com>
Co-authored-by: dlax <denis@laxalde.org>
Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
fastapi/openapi/models.py
tests/test_custom_schema_fields.py
tests/test_openapi_schema_type.py [new file with mode: 0644]