import { ApiReferenceReact } from '@scalar/api-reference-react' import '@scalar/api-reference-react/style.css' const openApiSpec = { openapi: '3.0.3', info: { title: 'Vtorio API', version: '1.0.0', description: 'File upload and management API for Vtorio application', }, servers: [ { url: 'http://localhost:3000', description: 'Development server', }, ], components: { schemas: { File: { type: 'object', properties: { id: { type: 'string' }, filename: { type: 'string' }, mimetype: { type: 'string' }, size: { type: 'number' }, createdAt: { type: 'string', format: 'date-time' }, updatedAt: { type: 'string', format: 'date-time' }, }, required: ['id', 'filename', 'mimetype', 'size', 'createdAt'], }, Error: { type: 'object', properties: { success: { type: 'boolean', example: false }, error: { type: 'string' }, }, required: ['success', 'error'], }, }, }, paths: { }, } export default function ApiDocs() { return (

Vtorio API Documentation

Interactive API documentation for file upload and management endpoints.

) }