UNPKG

cdk-openapi-to-http-api

Version:

CDK Construct that lets you build AWS Api Gateway Http Api, backed by Lambdas, based on a OpenAPI spec file.

7 lines (6 loc) 477 B
import type { ParsedNode } from '../nodes/Node.js'; import { YAMLMap } from '../nodes/YAMLMap.js'; import type { BlockMap } from '../parse/cst.js'; import type { ComposeContext, ComposeNode } from './compose-node.js'; import type { ComposeErrorHandler } from './composer.js'; export declare function resolveBlockMap({ composeNode, composeEmptyNode }: ComposeNode, ctx: ComposeContext, bm: BlockMap, onError: ComposeErrorHandler): YAMLMap.Parsed<ParsedNode, ParsedNode | null>;