Apitomy Data Models
A Java and TypeScript library for reading, writing, and manipulating OpenAPI, AsyncAPI, OpenRPC, and JSON Schema documents using a rich, typed object model.
Key Features
- Multi-Spec Support — OpenAPI 2.0, 3.0, 3.1, 3.2; AsyncAPI 2.x, 3.x; OpenRPC 1.x; JSON Schema Draft 4–2020-12
- Read & Write — Parse from JSON or YAML, serialize back to any format
- Validation — Built-in validation engine with hundreds of spec-compliance rules
- Visitor Pattern — Powerful visitor and traverser patterns for querying and transforming document trees
- Command Pattern — Undo/redo-capable commands for all document mutations
- Java & TypeScript — Available on both Maven Central and npm with the same API surface
Quick Links
- Getting Started — Installation, Java and TypeScript quickstarts
- User Guide — Reading & writing, visitors, validation, commands, and more
- Examples — End-to-end use cases in Java and TypeScript
- GitHub Repository — Source code and issues
- Maven Central — Java releases
- npm — TypeScript releases
Installation
Community
All Apitomy projects are open source under the Apache License 2.0. We welcome contributions, feedback, and ideas.
- Issues: Report bugs and request features on GitHub Issues
- Contributing: See the Contributing Guide