feat: implement API endpoints with /api prefix and add raw content/metadata routes

Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-12 14:15:58 -03:00
parent 26bb2787d3
commit 4d7bed7057
4 changed files with 632 additions and 103 deletions

View File

@@ -95,7 +95,7 @@ pub async fn handle_swagger_ui() -> Html<&'static str> {
<script src="https://unpkg.com/swagger-ui-dist@3.52.5/swagger-ui-bundle.js"></script>
<script>
SwaggerUIBundle({
url: '/openapi.json',
url: '/api/openapi.json',
dom_id: '#swagger-ui',
presets: [
SwaggerUIBundle.presets.apis,