openapi-core/openapi_core/validation/response/models.py
2018-05-25 11:30:50 +01:00

10 lines
350 B
Python

"""OpenAPI core validation response models module"""
from openapi_core.validation.models import BaseValidationResult
class ResponseValidationResult(BaseValidationResult):
def __init__(self, errors, data=None, headers=None):
super(ResponseValidationResult, self).__init__(errors)
self.data = data
self.headers = headers