Yohann B
03/28/2022, 2:04 PMFrank
Yohann B
03/29/2022, 1:05 PMreturn new ApiGatewayV1Api(context, 'new-Api', {
...routes
});
routes was result of import of file like import {routes} from '..' and file was like const export const routes = {..} @Frank Actually i now use addRoutes method of ApiGatewayV1Api and i don't have this problem, i will write again if i pinpoint the exact problem, thank for the answer