joostfarla / serverless-cors-plugin

Serverless CORS Plugin - Managing Cross-origin resource sharing (CORS) policies
ISC License
70 stars 15 forks source link

Support compatibility with serverless-models-plugin #27

Closed dclaze closed 8 years ago

dclaze commented 8 years ago

Using this plugin in conjunction with the serverless-models-plugin (https://github.com/HyperBrain/serverless-models-plugin) causes an error

OPTIONS - /apiEndpoint: Model not defined:

The Fix Add default definition for endpoint "responses" config, similar to what is created by the boilerplate endpoint generator. Notice "responseModels" is set to an empty object which allows compatibility with serverless-models-plugin without requiring us to define a model.

joostfarla commented 8 years ago

Thanx!

dclaze commented 8 years ago

Np! Are you planning another release anytime soon?

On Wed, Sep 7, 2016 at 11:49 AM Joost Farla notifications@github.com wrote:

Thanx!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/joostfarla/serverless-cors-plugin/pull/27#issuecomment-245379346, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVeBOcd4MW2aAHGxY1q_9BO8cc4-SnNks5qnwdCgaJpZM4J2kS6 .

joostfarla commented 8 years ago

I've just released v0.4.2!