mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor(api): 🏷️ Port almost all remaining v1 endpoints to OpenAPI
This commit is contained in:
parent
247a8fbce3
commit
1856176de5
42 changed files with 919 additions and 574 deletions
|
|
@ -58,6 +58,14 @@ export const accountNotFound = {
|
|||
},
|
||||
},
|
||||
};
|
||||
export const noteNotFound = {
|
||||
description: "Status does not exist",
|
||||
content: {
|
||||
"application/json": {
|
||||
schema: ErrorSchema,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export const apiRoute = (fn: (app: OpenAPIHono<HonoEnv>) => void): typeof fn =>
|
||||
fn;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue