feat(api): Add Swagger UI and OpenAPI endpoint

This commit is contained in:
Jesse Wierzbinski 2024-08-27 18:09:15 +02:00
parent f03542b37e
commit 02cb8bcd4f
No known key found for this signature in database
3 changed files with 31 additions and 2 deletions

View file

@ -6,7 +6,7 @@
"description": "A project to build a federated social network",
"author": {
"email": "contact@cpluspatch.com",
"name": "CPlusPatch",
"name": "Jesse Wierzbinski",
"url": "https://cpluspatch.com"
},
"bugs": {
@ -19,7 +19,7 @@
"maintainers": [
{
"email": "contact@cpluspatch.com",
"name": "CPlusPatch",
"name": "Jesse Wierzbinski",
"url": "https://cpluspatch.com"
}
],
@ -100,6 +100,7 @@
"@hackmd/markdown-it-task-lists": "^2.1.4",
"@hono/hono": "npm:@jsr/hono__hono@4.5.9",
"@hono/prometheus": "^1.0.1",
"@hono/swagger-ui": "^0.4.1",
"@hono/zod-openapi": "^0.16.0",
"@hono/zod-validator": "^0.2.2",
"@inquirer/confirm": "^3.1.22",