somod-http-extension
Version:
SOMOD middleware to intercept and validate Lambda event for AWS APIGateway
8 lines (7 loc) • 334 B
TypeScript
import { Extension } from "somod";
/**
* parse template.yaml and find AWS::Serverless::Function
* get all module names and for each module get routes configuration
* generate schema compiled files and save inside .somod/serverless/functions/<module>/<function>/http-schemas/
*/
export declare const prepare: Extension["prepare"];