oastools
Validate
Convert
Diff
Fix
Join
Overlay
Explore
Docs
pkg.go.dev
GitHub
Fix OpenAPI Specification
Automatically fix common issues in your OpenAPI specification.
Specification
Load Example...
Petstore (Messy)
Petstore (Clean)
Upload File
Paste Content
Fetch URL
Accepts JSON or YAML files up to 2MB
Paste JSON or YAML content directly
Fetch specification from a public URL
Fix Options (leave unchecked to enable all)
Add missing path parameters
Remove unused schemas
Fix invalid schema names
Remove empty paths
Fix duplicate operation IDs
Advanced Options
Dry run (preview changes without applying)
Infer parameter types from names
Expand CSV enum strings to arrays
Stub missing references (create empty definitions for unresolved $ref pointers)
Fix Specification
How it's done
Full documentation
·
pkg.go.dev