UNPKG

fluid-oas

Version:

Build declarative OpenApiv3.* specifications.

11 lines (10 loc) 311 B
import { withDescription, withURL, withVariables } from "../common"; import { Base } from "./base"; const ServerBase = withVariables(withDescription(withURL(Base))); class _OpenApiServer extends ServerBase { } export const Server = { addUrl(url) { return new _OpenApiServer().addUrl(url); }, };