openapi-core/openapi_core/schema/security/models.py
2019-10-22 17:20:52 +01:00

9 lines
252 B
Python

"""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 []