2018-04-18 10:39:03 +00:00
|
|
|
from openapi_core.schema.exceptions import OpenAPIMappingError
|
|
|
|
|
|
|
|
|
|
|
|
class OpenAPISchemaError(OpenAPIMappingError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2018-08-05 12:40:34 +00:00
|
|
|
class NoValidSchema(OpenAPISchemaError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class UndefinedItemsSchema(OpenAPISchemaError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2018-04-18 10:39:03 +00:00
|
|
|
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
|