softchef / cdk-restapi Goto Github PK
View Code? Open in Web Editor NEWThis construct is base on @aws/aws-apigateway.RestApi. The RestApi has addResource & addMethod function to create REST API routes. But the source code are low readability about what kind of resources and method in the API. So this construct are redefine the resources to improve readability.