fix: add Gitea Actions CI workflow for automated testing

This commit is contained in:
CI Bot
2026-02-06 06:37:08 +00:00
parent 40a6a4f7d4
commit 839317c44b
24 changed files with 3115 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
"""Custom exceptions for API TestGen."""
class SpecParserError(Exception):
"""Base exception for spec parser errors."""
pass
class InvalidOpenAPISpecError(SpecParserError):
"""Raised when OpenAPI specification is invalid."""
pass
class UnsupportedVersionError(SpecParserError):
"""Raised when OpenAPI version is not supported."""
pass
class AuthConfigError(Exception):
"""Base exception for auth configuration errors."""
pass
class MissingSecuritySchemeError(AuthConfigError):
"""Raised when security scheme is not defined in spec."""
pass
class GeneratorError(Exception):
"""Base exception for generator errors."""
pass
class TemplateRenderError(GeneratorError):
"""Raised when template rendering fails."""
pass