made pretty and fixed message posting

This commit is contained in:
Kevin Puig
2025-09-27 15:55:20 -04:00
parent 74f4e076ce
commit da1310b9c8
10 changed files with 415 additions and 390 deletions

View File

@@ -53,21 +53,19 @@ app.use(
app.route("/api", routes);
app.get(
'/openapi',
"/openapi",
openAPIRouteHandler(app, {
documentation: {
info: {
title: 'Hono API',
version: '1.0.0',
description: 'Greeting API',
title: "Hono API",
version: "1.0.0",
description: "Greeting API",
},
servers: [
{ url: 'http://localhost:3000', description: 'Local Server' },
],
servers: [{ url: "http://localhost:3000", description: "Local Server" }],
},
})
)
}),
);
app.get('/scalar', Scalar({ url: '/openapi' }))
app.get("/scalar", Scalar({ url: "/openapi" }));
export default app;