Releases: YoruNoHikage/apex-api-gateway
Releases · YoruNoHikage/apex-api-gateway
Compressions and response personalization
x-amazon-apigateway-binary-media-types
in your project definition, you can now add binary types to your API, the lambda will then receive a buffer content.x-amazon-apigateway-minimum-compression-size
: You can specify a minimum compression size, to enable to auto gzipping of your response. No value, no compression, 0 for gzipping everything.
v0.3.1
Update to 0.3.1
Personalize responses per function
Add the ability to rewrite some x-amazon-apigateway-integration
per function.
Small example serving css from the lambda:
{
"x-api-gateway": {
"tags": ["CSS"],
"consumes": null,
"produces": ["text/css; charset=utf-8"],
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/Empty"
}
}
},
"x-amazon-apigateway-integration": {
"responses": {
"default": {
"statusCode": "200",
"responseTemplates": {
"text/css": "$input.path('$')"
}
}
}
}
}
}
Ignore dotfiles
Fix by #8, .DS_Store
and dotfiles are now ignored
CRLF -> LF endings
And fix for camelcase lodash import
v0.2.0
Add default swagger definition with path matching
v0.1.0
First early version