Browse Source

Added type annotation for smart_union

pull/9517/head
alexturcea 2 years ago
committed by GitHub
parent
commit
c33658f87d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      fastapi/openapi/models.py

2
fastapi/openapi/models.py

@ -140,7 +140,7 @@ class Schema(BaseModel):
class Config:
extra: str = "allow"
smart_union = True
smart_union: bool = True
class Example(BaseModel):

Loading…
Cancel
Save