openapi-minifier

JSON →
library 1.0.2 ·javascript
verified Jun 4, 2026

A CLI tool by Treblle that minifies OpenAPI V3 specification files by up to 80% by removing redundant information irrelevant to AI agents and LLMs. Version 1.0.2 runs on Node >=18, ships TypeScript types, and supports JSON & YAML input/output with three presets (max, balanced, min). Key differentiator: reduces token usage for LLMs while preserving essential API details for integration.