This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
wikipedia-game-solver/apps/api/config/tuyau.ts

22 lines
535 B
TypeScript
Raw Permalink Normal View History

2024-08-16 02:50:11 +02:00
import env from "#start/env.ts"
import { VERSION } from "@repo/utils/constants"
import { defineConfig } from "@tuyau/core"
const tuyauConfig = defineConfig({
codegen: {},
openapi: {
provider: "scalar",
buildSpecPath: ".adonisjs/openapi.yaml",
documentation: {
info: {
title: "Wikipedia Game Solver API",
version: VERSION,
},
2024-08-18 02:31:02 +02:00
tags: [{ name: "health" }, { name: "users" }, { name: "wikipedia" }],
2024-08-16 02:50:11 +02:00
servers: [{ url: env.get("API_URL") }],
},
},
})
export default tuyauConfig