Repository navigation
Release v1.1.0 - Complete OpenAPI Toolkit
🚀 OpenAPI Toolkit v1.1.0
A comprehensive toolkit for working with OpenAPI specifications, Arazzo workflows, and OpenAPI overlays.
🎯 What's New
📦 Complete CLI Tool
A powerful command-line interface with three main command groups:
openapi openapi- Commands for OpenAPI specificationsopenapi arazzo- Commands for Arazzo workflow documentsopenapi overlay- Commands for OpenAPI overlays
🔧 OpenAPI Specification Tools
- Validate - Comprehensive validation for OpenAPI 3.0.x and 3.1.x specifications
- Upgrade - Automatic upgrade from OpenAPI 3.0.x to 3.1.x with full compatibility
- Bundle - Bundle external references into components section while preserving structure
- Inline - Create self-contained documents by expanding all references
🌊 Arazzo Workflow Support
- Validate - Full validation for Arazzo 1.0 workflow documents
- Support for complex API call sequences and dependencies
- Parameter and expression syntax validation
- Source description reference checking
🎭 OpenAPI Overlay System
- Apply - Apply overlay transformations to OpenAPI specifications
- Validate - Validate overlay files for compliance
- Compare - Generate overlays by comparing two specifications
- Environment-specific modifications without editing original specs
🏗️ Automated Release Infrastructure
- GitHub Actions Workflow - Automated releases triggered by git tags
- Multi-Platform Binaries - Support for Linux, macOS, Windows (AMD64 & ARM64)
- GoReleaser Integration - Professional release automation with checksums
- Quality Assurance - Full CI pipeline runs before every release
📋 Key Features
Bundle vs Inline
- Bundle: Preserves reference structure, brings external refs into components
- Inline: Completely expands all references for self-contained documents
Multi-Format Support
- Works with both YAML and JSON input/output
- Preserves original formatting where possible
- Pipe-friendly output for command chaining
Advanced Capabilities
- Circular reference handling using JSON Schema
$defs - Intelligent naming conflict resolution
- Comprehensive validation with detailed error reporting
- Vendor extension preservation during upgrades
🛠️ Installation
Via Go Install
go install github.com/speakeasy-api/openapi/cmd/openapi@latestDownload Binaries
Pre-built binaries are available for all major platforms in the release assets below.
📚 Quick Examples
# Validate an OpenAPI specification
openapi openapi validate ./spec.yaml
# Upgrade to OpenAPI 3.1.x
openapi openapi upgrade ./spec.yaml ./upgraded-spec.yaml
# Bundle external references
openapi openapi bundle ./spec-with-refs.yaml ./bundled-spec.yaml
# Inline all references
openapi openapi inline ./spec.yaml ./inlined-spec.yaml
# Validate Arazzo workflow
openapi arazzo validate ./workflow.arazzo.yaml
# Apply OpenAPI overlay
openapi overlay apply --overlay changes.yaml --schema spec.yaml
# Generate overlay from differences
openapi overlay compare --before v1.yaml --after v2.yaml --out changes.yaml🏢 Enterprise Ready
Built by Speakeasy and used in production for:
- SDK Generation - Powers Speakeasy's client SDK generator
- Contract Testing - Validates API implementations against specifications
- API Documentation - Processes specifications for documentation generation
🔗 Resources
- Documentation: OpenAPI Hub
- Go Package: pkg.go.dev
- Support: Join our Slack
This release establishes the foundation for comprehensive OpenAPI ecosystem tooling with professional-grade automation and multi-platform support.