maciejtreder / serverless-apigw-binary

Serverless plugin for binary files support in AWS Gateway
MIT License
160 stars 33 forks source link

Doesn't remove the old binary media types #59

Open ol-mortezaebrahimi opened 2 years ago

ol-mortezaebrahimi commented 2 years ago

When changing the binary media types, the old media types still exist in the list of media types. I guess that's because we're merging the types instead of overwriting it. Screen Shot 2022-11-14 at 12 42 25 PM

My new serverless configurations :


    types:           #list of mime-types
      - "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
      - "application/pdf"```