1 | import * as jsonSchema from './json-schema';
|
2 | export declare const ALL_METHODS: string[];
|
3 | export declare function validateHttpMethod(method: string, messagePrefix?: string): void;
|
4 | export declare function parseMethodOptionsPath(originalPath: string): {
|
5 | resourcePath: string;
|
6 | httpMethod: string;
|
7 | };
|
8 | export declare function parseAwsApiCall(path?: string, action?: string, actionParams?: {
|
9 | [key: string]: string;
|
10 | }): {
|
11 | apiType: string;
|
12 | apiValue: string;
|
13 | };
|
14 | export declare function validateInteger(property: number | undefined, messagePrefix: string): void;
|
15 | export declare function validateDouble(property: number | undefined, messagePrefix: string): void;
|
16 | export declare class JsonSchemaMapper {
|
17 | |
18 |
|
19 |
|
20 |
|
21 |
|
22 | static toCfnJsonSchema(schema: jsonSchema.JsonSchema): any;
|
23 | private static readonly SchemaPropsWithPrefix;
|
24 | private static readonly SchemaPropsWithUserDefinedChildren;
|
25 | private static _toCfnJsonSchema;
|
26 | }
|