Files
hive/frontend/dist/index.html
anthonyrawlins ca18476efc Implement comprehensive API documentation system
 Features:
- Comprehensive Pydantic response models with examples
- Enhanced FastAPI configuration with rich OpenAPI metadata
- Centralized error handling with standardized error codes
- Professional Swagger UI styling and branding
- Health check endpoints with detailed component status
- Type-safe request/response models for all endpoints

📊 Coverage:
- Agent Management API fully documented
- Standardized error responses across all endpoints
- Interactive API documentation with try-it-now functionality
- Custom OpenAPI schema with authentication schemes

🛠️ Technical Improvements:
- Created app/models/responses.py with comprehensive models
- Added app/core/error_handlers.py for centralized error handling
- Enhanced app/api/agents.py with detailed documentation
- Custom documentation configuration in app/docs_config.py
- Global exception handlers for consistent error responses

🌐 Access Points:
- Swagger UI: /docs
- ReDoc: /redoc
- OpenAPI JSON: /openapi.json

This establishes professional-grade API documentation that matches
Hive's technical excellence and provides developers with comprehensive,
interactive documentation for efficient integration.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 10:21:08 +10:00

77 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/hive-icon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Hive - Unified Distributed AI Orchestration Platform for coordinating AI agents, managing workflows, and monitoring performance" />
<meta name="keywords" content="AI, orchestration, workflows, agents, distributed computing, automation" />
<meta name="author" content="Hive Platform" />
<meta name="theme-color" content="#3b82f6" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:title" content="Hive - Distributed AI Orchestration" />
<meta property="og:description" content="Unified platform for coordinating AI agents, managing workflows, and monitoring performance" />
<meta property="og:url" content="https://hive.home.deepblack.cloud" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:title" content="Hive - Distributed AI Orchestration" />
<meta property="twitter:description" content="Unified platform for coordinating AI agents, managing workflows, and monitoring performance" />
<!-- Accessibility -->
<meta name="format-detection" content="telephone=no" />
<title>🐝 Hive - Distributed AI Orchestration</title>
<style>
/* Loading styles for better UX */
#root {
min-height: 100vh;
}
/* Screen reader only class */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* Focus visible styles */
.focus-visible:focus {
outline: 2px solid #3b82f6;
outline-offset: 2px;
}
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
</style>
<script type="module" crossorigin src="/assets/index-CtgZ0k19.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CBw2HfAv.css">
</head>
<body>
<noscript>
<div style="text-align: center; padding: 2rem; font-family: sans-serif;">
<h1>JavaScript Required</h1>
<p>This application requires JavaScript to be enabled in your browser.</p>
<p>Please enable JavaScript and refresh the page to continue.</p>
</div>
</noscript>
<div id="root" role="main"></div>
</body>
</html>