Skip to content

Commit

Permalink
Fixes #350 - keyword with no conflict in alias (#380)
Browse files Browse the repository at this point in the history
Fix #350 - keyword with no conflict in alias

Co-authored-by: Keming <[email protected]>
  • Loading branch information
Vlczech and kemingy authored Oct 30, 2024
1 parent d15ccad commit 4701061
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spectree/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def check_type_required_fields(cls, values: dict):

class Config:
validate_assignment = True
allow_population_by_field_name=True


class SecurityScheme(BaseModel):
Expand Down

0 comments on commit 4701061

Please sign in to comment.