Mahendra Bandara
Mahendra Bandara
``` const auth = new GoogleAuth({ scopes: [ 'https://www.googleapis.com/auth/calendar', 'https://www.googleapis.com/auth/calendar.events' ], keyFile: './src/serviceaccount.json', clientOptions: { subject: '[email protected]' } }); const calendar = google.calendar({ version: 'v3', auth: auth }); const apiResponse...
In my design file I define this custom error response ``` var CommonErrorResponse = Type("CommonErrorResponse", func() { Description("Common error response for errors") Field(1, "name", String, "Error name", func() { Meta("struct:error:name")...