mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-25 23:35:17 +00:00
13 lines
382 B
TypeScript
13 lines
382 B
TypeScript
import { HttpApi, OpenApi } from "effect/unstable/httpapi"
|
|
import { questionApi } from "./question.js"
|
|
|
|
export const api = HttpApi.make("opencode")
|
|
.addHttpApi(questionApi)
|
|
.annotateMerge(
|
|
OpenApi.annotations({
|
|
title: "opencode experimental HttpApi",
|
|
version: "0.0.1",
|
|
description: "Experimental HttpApi surface for selected instance routes.",
|
|
}),
|
|
)
|