I am trying to set the Access-Control-Allow-Methods header for options , and currently it shows that claudia-api-builder is not able to set the http parameters response, like a GET request. See the GET example below.
GET example
api.get('/hard-coded-headers', function () { return 'OK'; }, {success: {headers: {'Access-Control-Allow-Methods': 'GET, HEAD, OPTIONS'}}});
Further...
If this header value is set via aws-api-gateway -> resources -> OPTIONS > Integration Response , and then if you need to perform claudia update , it will be overwritten to the default state, as shown below.

The claudia-api-builder show that it supports custom Gateway API error responses, but it fails.
I would like to be able to customize the responses of custom headers, for example, how the GET request is processed. Is it possible?
Tyler rafferty
source share