mirror of
https://github.com/correl/openapi-core.git
synced 2024-11-25 19:19:55 +00:00
11 lines
350 B
Python
11 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
|