openapi-core/openapi_core/schema/contacts/models.py
2020-03-04 00:03:48 +00:00

11 lines
282 B
Python

"""OpenAPI core contacts models module"""
class Contact(object):
def __init__(self, name=None, url=None, email=None, extensions=None):
self.name = name
self.url = url
self.email = email
self.extensions = extensions and dict(extensions) or {}