standardize packaging, tooling, docs, CI, and licensing
This commit is contained in:
@@ -18,6 +18,7 @@ Notes:
|
||||
These errors should normally cause immediate application failure.
|
||||
"""
|
||||
|
||||
|
||||
class OpenAPIFirstError(Exception):
|
||||
"""
|
||||
Base exception for all OpenAPI-first enforcement errors.
|
||||
@@ -31,6 +32,7 @@ class OpenAPIFirstError(Exception):
|
||||
- All exceptions raised by the OpenAPI-first core should inherit
|
||||
from this type.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
@@ -70,9 +72,6 @@ class MissingOperationHandler(OpenAPIFirstError):
|
||||
f"({method.upper()} {path})"
|
||||
)
|
||||
else:
|
||||
message = (
|
||||
f"Missing operationId for operation "
|
||||
f"({method.upper()} {path})"
|
||||
)
|
||||
message = f"Missing operationId for operation " f"({method.upper()} {path})"
|
||||
|
||||
super().__init__(message)
|
||||
|
||||
Reference in New Issue
Block a user