UNPKG

fluid-oas

Version:

Build declarative OpenApiv3.* specifications.

9 lines (8 loc) 252 B
import { withAllOf } from "../common"; import { SchemaBase } from "../lib/base"; const AllOfBase = withAllOf(SchemaBase)(); class _OpenApiAllOf extends AllOfBase { } export const AllOf = (...vals) => { return new _OpenApiAllOf().addAllOf(vals); };