-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Summary
The SDK is missing the schema validation endpoint.
Core API endpoint
POST /schemas/validate- Validate a JSON schema without creating anything
Method to add
class SchemasResource:
def validate(self, schema: dict) -> ValidationResult:
"""Validate a JSON schema and return any errors."""
class ValidationResult(BaseModel):
valid: bool
errors: list[str] | None = NoneUse case
Pre-flight validation of schemas before attempting to publish contracts.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers