Closed dclaze closed 8 years ago
Thanx!
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 .
I've just released v0.4.2!
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.