Skip to content

Apitomy Data Models

A Java and TypeScript library for reading, writing, and manipulating OpenAPI and AsyncAPI documents using a rich, typed object model.

Key Features

  • Multi-Spec Support — OpenAPI 2.0, 3.0, 3.1, 3.2 and AsyncAPI 2.x, 3.x
  • 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

Installation

<dependency>
    <groupId>io.apitomy</groupId>
    <artifactId>apitomy-data-models</artifactId>
    <version>3.1.0</version>
</dependency>
implementation 'io.apitomy:apitomy-data-models:3.1.0'
npm install @apitomy/data-models

Community

All Apitomy projects are open source under the Apache License 2.0. We welcome contributions, feedback, and ideas.