mirror of
https://github.com/correl/openapi-core.git
synced 2024-12-01 11:09:57 +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 {}
|