NBS-LLC / craift

AI Treasure Generator
1 stars 0 forks source link

generate static json schemas for response validation #6

Closed NBS-LLC closed 11 months ago

NBS-LLC commented 1 year ago

Problem: Current JSON schema generation and validation is in-code, risking public API changes without knowledge.

Solution: Generate JSON static schema files, allowing validation against version controlled files. Any public API changes will cause validation failure, requiring schema regeneration and version bump.