Skip to content

Commit

Permalink
Fix #350 - keyword with no conflict in alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlczech authored Oct 29, 2024
1 parent c828143 commit dcf8d68
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 dcf8d68

Please sign in to comment.