openapi-core/openapi_core/schema/schemas/exceptions.py

26 lines
410 B
Python
Raw Normal View History

2018-04-18 10:39:03 +00:00
from openapi_core.schema.exceptions import OpenAPIMappingError
class OpenAPISchemaError(OpenAPIMappingError):
pass
class InvalidSchemaValue(OpenAPISchemaError):
pass
class UndefinedSchemaProperty(OpenAPISchemaError):
pass
class MissingSchemaProperty(OpenAPISchemaError):
pass
2018-05-25 15:32:09 +00:00
class NoOneOfSchema(OpenAPISchemaError):
pass
class MultipleOneOfSchema(OpenAPISchemaError):
pass