mirror of
https://github.com/correl/openapi-core.git
synced 2024-11-28 11:09:52 +00:00
11 lines
282 B
Python
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 {}
|