Enable Config.smart_union for spectree

master
John Montagu, the 4th Earl of Sandvich 2024-11-19 10:47:14 -08:00
parent 22040f47a0
commit 36591726b9
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
1 changed files with 1 additions and 1 deletions

View File

@ -24,4 +24,4 @@ class BaseModel(pydantic.v1.BaseModel):
class Config:
alias_generator = to_camel
allow_population_by_field_name = True
smart_union = True