fluid-oas
Version:
Build declarative OpenApiv3.* specifications.
14 lines (13 loc) • 742 B
JavaScript
import { withAllowReserved, withContent, withDeprecated, withDescription, withExample, withExamples, withExplode, withIn, withName, withRequired, withSchema, withStyle, } from "../common";
import { Base } from "./base";
const ParameterBase = withDeprecated(withRequired(withDescription(withIn(withName(Base))())));
const ParameterSchemaBase = withExamples(withExample(withSchema(withAllowReserved(withExplode(withStyle(ParameterBase)())))));
const ParameterContentBase = withContent(ParameterBase);
class _OpenApiParameterSchema extends ParameterSchemaBase {
}
class _OpenApiParameterContent extends ParameterContentBase {
}
export const Parameter = {
schema: new _OpenApiParameterSchema(),
header: new _OpenApiParameterContent(),
};