openapi-core/openapi_core/schema/security/models.py

10 lines
252 B
Python
Raw Normal View History

2019-10-21 22:16:24 +00:00
"""OpenAPI core security models module"""
class SecurityRequirement(object):
"""Represents an OpenAPI Security Requirement."""
def __init__(self, name, scope_names=None):
self.name = name
self.scope_names = scope_names or []