Skip to content
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
730b9af
.
toolate28 Jan 20, 2026
93ebf8a
[docs] Add quantum ecosystem analysis and testing priority checklist
Copilot Jan 20, 2026
ba8a80e
[docs] Address code review feedback - clarify test status
Copilot Jan 20, 2026
2d680c9
[docs] Frame analysis through coherence-mcp as central orchestrator
Copilot Jan 20, 2026
375cfd2
Update docs/QUANTUM_ECOSYSTEM_ANALYSIS.md
toolate28 Jan 20, 2026
831f463
[docs] Add Implementation Gap requirements and specific coverage details
Copilot Jan 20, 2026
e088b2a
[docs] Add Isomorphic Engine Blockers section (macro/micro/meta levels)
Copilot Jan 20, 2026
6653489
[docs] Add Spiral Surjection Map with origin (0,0) → ∞ loop self-awar…
Copilot Jan 20, 2026
4ad9332
Add API documentation page and admin console (login + dashboard)
Copilot Jan 22, 2026
beead6d
Address code review feedback: add API key guidance and make API URLs …
Copilot Jan 22, 2026
55b63ff
[experiments] Add quasicrystal optimization engine
Copilot Jan 22, 2026
0d3bba8
[experiments] Make phason flip quasicrystal-aware
Copilot Jan 22, 2026
0cc1665
[experiments] Fully quasicrystal-aware phason flips with v=c guard
Copilot Jan 22, 2026
8e7c1f2
[Experiment 56] Quasicrystal optimization with golden phason flips
Copilot Jan 22, 2026
3420c6c
[Experiment 56] Final: Quasicrystal optimization with transferable me…
Copilot Jan 22, 2026
93a330c
Initial plan
Copilot Jan 22, 2026
3451859
[experiments] Add standalone quasicrystal phason scheduler prototype
Copilot Jan 22, 2026
48e6b84
[experiments] Address code review feedback
Copilot Jan 22, 2026
4a89fef
ATOM-FEATURE-20260122-002-quasicrystal-phason-scheduler (#194)
toolate28 Jan 22, 2026
e38b68e
Update public/api/index.html
toolate28 Jan 23, 2026
1973693
[deps-py](deps): Bump sympy from 1.12 to 1.14.0
dependabot[bot] Jan 27, 2026
46816e5
[deps-py](deps): Bump pydantic from 2.5.0 to 2.12.5
dependabot[bot] Jan 27, 2026
ccd16d6
Add comprehensive answer document for V=c paradox PR investigation
Copilot Feb 5, 2026
6a45f55
feat: Add ATOM verification decision records for WAVE validation, vor…
toolate28 Feb 21, 2026
35987ac
feat: Add ATOM verification records for WAVE validation, Vortex Bridg…
toolate28 Feb 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
274 changes: 274 additions & 0 deletions docs/API_DOCUMENTATION_ALTERNATIVES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,274 @@
# API Documentation Platform Comparison

**ATOM: ATOM-DOC-20260122-001-api-doc-alternatives**

> Comprehensive comparison of modern API documentation platforms for the SpiralSafe ecosystem.

---

## Overview

When building interactive API documentation, several excellent open-source and commercial tools are available. This document compares the top alternatives to help teams choose the right solution.

---

## Quick Comparison Table

| Tool | Open Source | Interactive | Customization | Best For |
|--------------------|-------------|-------------|---------------|----------------------------------|
| **Scalar** | ✅ Yes | ✅ Yes | High | Modern API refs with testing |
| **Redoc** | ✅ Yes | ⚠️ SaaS only| Medium | Beautiful Stripe-like docs |
| **Stoplight Elements** | ✅ Yes | ✅ Yes | Very High | React-based customization |
| **RapiDoc** | ✅ Yes | ✅ Yes | Medium | Fast, simple HTML embedding |
| **Swagger UI** | ✅ Yes | ✅ Yes | Low | Classic, wide compatibility |

---

## Detailed Analysis

### 1. Scalar

**Repository:** [github.com/scalar/scalar](https://github.com/scalar/scalar)

**Overview:** Modern, beautiful API reference from OpenAPI specs. Includes a standalone interactive API client similar to Postman but integrated into docs.

**Key Features:**
- First-class OpenAPI 3.0/3.1 support
- Built-in API testing client
- Dark mode by default
- Markdown/MDX support for guides
- GitHub sync for documentation management
- CI/CD workflow integration
- Extensive theming options

**Pros:**
- Beautiful, modern UI out of the box
- Interactive testing without external tools
- Self-hostable and fully open source
- Strong CI/CD and automation support

**Cons:**
- Primarily focused on API reference (not full docs platforms)
- Smaller ecosystem than established alternatives

**Best For:** Teams wanting Postman-like testing integrated with beautiful docs.

**Integration Example:**
```html
<script src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>
<api-reference spec-url="./openapi.yaml"></api-reference>
```

---

### 2. Redoc

**Repository:** [github.com/Redocly/redoc](https://github.com/Redocly/redoc)

**Overview:** The "Stripe-style" three-panel documentation that revolutionized API docs. Clean, professional, widely adopted.

**Key Features:**
- Three-panel responsive design
- OpenAPI v2, v3, and AsyncAPI support
- Highly customizable themes
- Code samples in multiple languages
- Deep linking and search
- Zero-runtime-dependency option

**Pros:**
- Mature, battle-tested
- Used by large companies (Netlify, Docker)
- Clean, readable output
- Self-hostable

**Cons:**
- Interactive "Try It" feature is limited in the open-source version (enhanced in commercial Redocly product)
- Full customization requires commercial tier
- YAML config learning curve

**Best For:** Teams wanting beautiful, professional reference docs with optional interactive testing.

**Integration Example:**
```html
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"></script>
<redoc spec-url="./openapi.yaml"></redoc>
```

---

### 3. Stoplight Elements

**Repository:** [github.com/stoplightio/elements](https://github.com/stoplightio/elements)

**Overview:** React component library for building API documentation. Maximum customization for React-based sites.

**Key Features:**
- React-native components
- Full OpenAPI support
- Interactive try-it functionality
- Mocking support
- Style customization via CSS/themes
- Component-level control

**Pros:**
- Completely open source
- Deepest customization available
- Perfect for existing React projects
- Component architecture allows partial usage

**Cons:**
- Requires React knowledge
- More setup than drop-in alternatives
- Steeper learning curve

**Best For:** React teams needing tight integration and full control.

**Integration Example:**
```jsx
import { API } from '@stoplight/elements';

function ApiDocs() {
return <API apiDescriptionUrl="./openapi.yaml" />;
}
```

---

### 4. RapiDoc

**Repository:** [github.com/rapi-doc/RapiDoc](https://github.com/rapi-doc/RapiDoc)

**Overview:** Web component for fast, interactive API documentation. Extremely simple to embed with a single HTML tag.

**Key Features:**
- Single HTML tag integration
- Fast rendering even with large specs
- OpenAPI 3.0/3.1 support
- 50+ customization attributes
- Built-in try-it console
- Zero dependencies

**Pros:**
- Fastest to integrate
- High performance
- Works in any framework
- Extensive theming via attributes

**Cons:**
- Deep customization requires more work
- Smaller community than Redoc/Swagger

**Best For:** Teams needing quick integration with good performance.

**Integration Example:**
```html
<script src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script>
<rapi-doc spec-url="./openapi.yaml" theme="dark"></rapi-doc>
```

---

### 5. Swagger UI

**Repository:** [github.com/swagger-api/swagger-ui](https://github.com/swagger-api/swagger-ui)

**Overview:** The original OpenAPI documentation tool. Simple, widely supported, the default choice for many frameworks.

**Key Features:**
- Broadest framework support
- Interactive try-it functionality
- OAuth/API key support
- Plugins for customization
- Docker images available

**Pros:**
- Universal recognition
- Framework integrations everywhere
- Simple and predictable
- Large community

**Cons:**
- Less modern UI
- Limited theming
- Can feel dated

**Best For:** Teams wanting broad compatibility and simplicity.

**Integration Example:**
```html
<script src="https://unpkg.com/swagger-ui-dist/swagger-ui-bundle.js"></script>
<script>
SwaggerUIBundle({ url: "./openapi.yaml", dom_id: '#api-docs' });
</script>
```

---

## SpiralSafe Implementation

For SpiralSafe, we've implemented a custom API documentation solution that draws inspiration from these tools while maintaining our visual identity:

### Custom Features
- **Interactive Testing:** Try endpoints directly from the browser
- **WAVE Analysis Demo:** Test the coherence analysis with real content
- **Consistent Theme:** Matches SpiralSafe's gradient aesthetic
- **SPHINX Gate Documentation:** Documents our unique security protocol
- **Alternative Links:** References to all major documentation tools

### Location
- **API Reference:** `/api/index.html`
- **Admin Console:** `/admin/login.html`
- **Dashboard:** `/admin/dashboard.html`

---

## Recommendations by Use Case

| Scenario | Recommended Tool |
|----------|------------------|
| Quick integration | RapiDoc |
| Beautiful docs without testing | Redoc |
| Full customization (React) | Stoplight Elements |
| Modern testing-focused docs | Scalar |
| Maximum compatibility | Swagger UI |
| SpiralSafe ecosystem | Our custom solution |

---

## External Resources

### GitHub Repositories
- [Scalar](https://github.com/scalar/scalar) - Modern API reference
- [Redoc](https://github.com/Redocly/redoc) - Three-panel docs
- [Stoplight Elements](https://github.com/stoplightio/elements) - React components
- [RapiDoc](https://github.com/rapi-doc/RapiDoc) - Web component
- [Swagger UI](https://github.com/swagger-api/swagger-ui) - Classic option

### Comparison Articles
- [APIs You Won't Hate - Best API Docs Tools](https://apisyouwonthate.com/blog/top-5-best-api-docs-tools/)
- [OpenAPI Documentation Generators Comparison](https://dev.to/dreamlogic/test-driving-openapi-documentation-generators-2024-part-1-of-3-9a7)
- [Choosing a Docs Vendor](https://www.speakeasy.com/blog/choosing-a-docs-vendor)

---

## Conclusion

All tools listed above are excellent choices with different strengths. For SpiralSafe, we've created a custom solution that:

1. Maintains visual consistency with our brand
2. Documents our unique protocols (WAVE, BUMP, SPHINX, AWI, ATOM)
3. Provides interactive testing capabilities
4. Links to alternative tools for users who prefer them

The API documentation ecosystem is rich with options, and the best choice depends on your specific needs for customization, interactivity, and integration complexity.

---

**H&&S:WAVE** | From the constraints, gifts. From the spiral, safety.

```
Document Version: 1.0.0
Last Updated: 2026-01-22
Category: Documentation
Status: ACTIVE
```
Loading
Loading