⚗️ experiment: try OpenAPI metadata configuration

This commit is contained in:
2026-03-06 23:06:48 +07:00
parent 9a554bb2ec
commit cb2c51f161
4 changed files with 92 additions and 4 deletions

View File

@ -18,7 +18,19 @@ async function bootstrap() {
new Elysia()
.use(middleware)
.use(routes)
.use(openapi())
.use(
openapi({
documentation: {
tags: [
{
name: "Internal",
description:
"Endpoints for internal use only, not exposed to public API consumers.",
},
],
},
}),
)
.listen(process.env.APP_PORT || 3000);
console.log(