MCPcopy Create free account
hub / github.com/arctic-cli/interface / openapi

Function openapi

packages/arctic/src/server/server.ts:2806–2818  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2804 )
2805
2806 export async function openapi() {
2807 const result = await generateSpecs(App(), {
2808 documentation: {
2809 info: {
2810 title: "arctic",
2811 version: "1.0.0",
2812 description: "arctic api",
2813 },
2814 openapi: "3.1.1",
2815 },
2816 })
2817 return result
2818 }
2819
2820 export function listen(opts: { port: number; hostname: string }) {
2821 const server = Bun.serve({

Callers

nothing calls this directly

Calls 1

AppFunction · 0.50

Tested by

no test coverage detected