Key Features
Built with AppKit and Swift, OhAPI delivers a fast, native experience that feels right at home on macOS.
Interactive Tree Visualization
Transform your API spec into a rich, interactive tree diagram with color-coded nodes, expand/collapse controls, and smooth animations.
Syntax-Highlighted Code Viewer
View your raw specification with full JSON and YAML syntax highlighting, line numbers, and source-location sync with the tree.
Operation Browser
Browse all API operations listed by HTTP method and path. View summaries, operation IDs, and explore request and response definitions.
Reference Resolution
Navigate deeply nested $ref pointers throughout the specification with automatic cycle detection. Supports both OpenAPI 3.x and Swagger 2.0 references.
Interactive Tree Visualization
OhAPI transforms your OpenAPI specification into a rich, interactive tree diagram. Each API element — schemas, properties, parameters, references, and composition keywords — is rendered as a distinct visual node with color-coded styling.
- Expandable/Collapsible nodes — Focus on what matters
- Click-to-select — Highlights the corresponding source code
- Smooth animations — Polished tree transitions
- Reference navigation — Click
$refnodes to jump to definitions
Syntax-Highlighted Code Viewer
The built-in code viewer displays your raw OpenAPI specification with full syntax highlighting and source-location synchronization.
- JSON & YAML highlighting — Keys, values, and delimiters each in distinct colors
- Line numbers — Easily reference specific lines
- Source-location sync — Select a tree node, the code viewer scrolls to the matching line
- SF Mono font — Crisp, monospaced rendering
Operation Browser
Navigate your API by operation with a structured, visual browser.
- Operation list — All operations listed with HTTP method and path
- Method icons — GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD, TRACE each have their own visual icon
- Operation details — View summary, operation ID, and description
- Response explorer — Browse request and response definitions with HTTP status code grouping
How does OhAPI work?
Three simple steps to explore any OpenAPI specification.
Open your OpenAPI specification
Open files via File > Open, drag-and-drop, or double-click from Finder. OhAPI supports both JSON and YAML formats. Two bundled sample specifications are included to get started immediately.
Select an operation
Browse and select the API operation you want to explore. View its summary, operation ID, and description. Then choose a request or response message to inspect.
Explore the tree and source code
The interactive tree updates to show the message data structure. Hover over any element to see its description. Select a node to highlight its definition in the syntax-highlighted code viewer.
Tree Node Types
OhAPI renders each OpenAPI element as a distinct, color-coded visual node.
Schema
Data type definitions with type, format, and constraints.
Property
Object properties with name, type, required flag, and format.
Parameter
Query, path, header, and cookie parameters.
Reference
$ref pointers with one-click navigation to the target definition.
Composition (allOf / anyOf / oneOf)
Schema composition through intersection, union, or exclusive alternatives.
Request & Response
Operation bodies with HTTP status code grouping and content type nodes.
Theming and Appearance
OhAPI includes a theming system with customizable colors for every node type. Property, parameter, reference, content type, and error nodes each have configurable foreground, fill, and border colors.
- Supports macOS light and dark appearance modes
- Settings are persisted across sessions
Compatibility
Supported OpenAPI Versions
| Version | Status |
|---|---|
| Swagger 2.0 | Fully supported |
| OpenAPI 3.0.0 | Fully supported |
| OpenAPI 3.0.1 | Fully supported |
| OpenAPI 3.0.2 | Fully supported |
| OpenAPI 3.0.3 | Fully supported |
| OpenAPI 3.1.x | Fully supported |
Supported Formats
| Format | Extensions |
|---|---|
| JSON | .json |
| YAML | .yaml, .yml |
System Requirements
| Requirement | Minimum |
|---|---|
| Operating System | macOS 12.0 (Monterey) |
| Architecture | Intel and Apple Silicon (Universal) |
Frequently Asked Questions
Can I edit specifications with OhAPI?
No, OhAPI is a specification viewer.
Does OhAPI support schema composition (allOf, oneOf, anyOf)?
Yes, OhAPI fully supports allOf (intersection), anyOf (union), and oneOf (exclusive alternatives) composition keywords.
Which document formats are supported?
OhAPI supports both JSON (.json) and YAML (.yaml, .yml) formats.
What is OhAPI's privacy policy?
We do not collect any personal data at all.
Which versions of OpenAPI are supported?
Swagger 2.0 and OpenAPI 3.0.0 through 3.1.x are fully supported. The version is automatically detected from the specification.
Does OhAPI handle circular references?
Yes, OhAPI includes cycle detection that gracefully handles circular $ref references, preventing infinite recursion.
Can I open multiple documents at once?
Yes, OhAPI is a standard macOS document-based application. Multiple documents can be open simultaneously in separate windows.
Does OhAPI support dark mode?
Yes, OhAPI supports both macOS light and dark appearance modes with customizable node colors.
Looking for an editor?
OhAPI Designer is a native macOS editor with context-aware completions, inline validation, and snippet templates for OpenAPI specifications.
Discover OhAPI DesignerContact Support
If you have any questions please do not hesitate to contact us.