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
515 B
TypeScript
Raw 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,
},
tags: [{ name: "users" }, { name: "wikipedia" }],
servers: [{ url: env.get("API_URL") }],
},
},
})
export default tuyauConfig