246c0e5ded
- M1: unified OSS client (upload/download/presign) + path utils + config - M2: rule service with validate/create/publish/rollback + binding CRUD endpoints - M3: native AuditCtx runner, file/rule resolvers, storage adapter with full persistence - docs: SYSTEM_OVERVIEW.md as comprehensive architecture reference - fix: double finalize — terminal state now written once by finalize_run
10 lines
205 B
Python
10 lines
205 B
Python
"""规则校验 DTO。"""
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class RuleValidateDTO(BaseModel):
|
|
"""规则 YAML 校验请求。"""
|
|
|
|
yamlText: str = Field(..., description="规则 YAML 正文")
|