Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
py 3.11 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lsbardel committed Oct 25, 2022
1 parent 9a2bf67 commit 1f0e352
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 136 deletions.
4 changes: 2 additions & 2 deletions openapi/spec/spec.py
Expand Up @@ -47,8 +47,8 @@ class OpenApiInfo:
description: str = ""
version: str = "0.1.0"
termsOfService: str = ""
contact: Contact = Contact()
license: License = License()
contact: Contact = field(default_factory=Contact)
license: License = field(default_factory=License)


# for backward compatibility
Expand Down

0 comments on commit 1f0e352

Please sign in to comment.