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.

11 lines (10 loc) 433 B
import { Range } from '../nodes/Node.js'; import { Scalar } from '../nodes/Scalar.js'; import type { BlockScalar } from '../parse/cst.js'; import type { ComposeErrorHandler } from './composer.js'; export declare function resolveBlockScalar(scalar: BlockScalar, strict: boolean, onError: ComposeErrorHandler): { value: string; type: Scalar.BLOCK_FOLDED | Scalar.BLOCK_LITERAL | null; comment: string; range: Range; };