Saltar al contenido
CtrlK

OpenApiConfig

En esta página
Esta referencia de la API se genera a partir de los comentarios de TypeScript en inglés. Los nombres, las firmas y los ejemplos corresponden al paquete publicado.
import type { OpenApiConfig } from "ardo/config"

type OpenApiConfig = {
    /** Local OpenAPI 3.0/3.1 JSON or YAML file. Remote URLs are intentionally unsupported. */
    spec: string;
    /** Generated route prefix. Defaults to `api`. */
    out?: string;
};

Properties

NameTypeRequiredDescription
specstringYesLocal OpenAPI 3.0/3.1 JSON or YAML file. Remote URLs are intentionally unsupported.
outstringNoGenerated route prefix. Defaults to api.