Add API documentation access and improve docs integration

 Enhanced API Documentation Access:
- Added /docs route to main app with instructions for Swagger UI
- Created helpful documentation page with setup instructions
- Added API Documentation button to web interface
- Updated /api endpoint to include Swagger UI information

 User-Friendly Documentation:
- Clear step-by-step instructions to access Swagger UI
- Direct link to Swagger UI (when running)
- Quick API reference on docs page
- Professional styling for documentation page

 Improved Navigation:
- Added 'API Documentation' button to main interface
- Opens in new tab for easy reference
- Back link to main interface
- Clear visual hierarchy and instructions

Now users can easily access API documentation from the main interface
This commit is contained in:
Aherobo Ovie Victor
2025-07-11 21:31:59 +01:00
parent 403559a2a2
commit b54da61121
2 changed files with 53 additions and 1 deletions
+3
View File
@@ -39,6 +39,9 @@
<button class="btn btn-info" onclick="runAllTests()">
<i class="fas fa-play"></i> Run All Tests
</button>
<a href="/docs" class="btn btn-outline" target="_blank">
<i class="fas fa-book"></i> API Documentation
</a>
</div>
</section>