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