Skip to content

Releases: YoruNoHikage/apex-api-gateway

Compressions and response personalization

04 May 14:39
Compare
Choose a tag to compare
  • 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

04 May 14:34
Compare
Choose a tag to compare
Update to 0.3.1

Personalize responses per function

05 Apr 16:38
Compare
Choose a tag to compare

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

11 Sep 10:12
Compare
Choose a tag to compare

Fix by #8, .DS_Store and dotfiles are now ignored

CRLF -> LF endings

16 Sep 11:55
Compare
Choose a tag to compare

And fix for camelcase lodash import

v0.2.0

16 Sep 12:00
Compare
Choose a tag to compare
Add default swagger definition with path matching

v0.1.0

16 Sep 11:53
Compare
Choose a tag to compare
First early version