mirror of
https://github.com/correl/openapi-core.git
synced 2024-11-29 11:09:54 +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
|