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.

6 lines (5 loc) 471 B
import { ParsedNode } from '../nodes/Node.js'; import type { BlockMap, BlockSequence, FlowCollection, SourceToken } from '../parse/cst.js'; import type { ComposeContext, ComposeNode } from './compose-node.js'; import type { ComposeErrorHandler } from './composer.js'; export declare function composeCollection(CN: ComposeNode, ctx: ComposeContext, token: BlockMap | BlockSequence | FlowCollection, tagToken: SourceToken | null, onError: ComposeErrorHandler): ParsedNode;