James Messinger

Results 225 comments of James Messinger

> To clarify, I'm just suggesting that there be a new middleware to handle responding to [non-CORS preflight] OPTIONS requests in the standard/expected RESTful way: > - Responding with 200...

Oh! **NOW** I see what you mean! Sorry... I guess I'm not firing on all cylinders today. Thanks for persevering. I honestly thought the CORS middleware was already doing that....

Yeah, agreed. I was just trying to be lazy. :) So what should this new middleware be called? `middleware.allow()` would certainly work, but maybe that's too narrow-focused? Maybe it should...

Hi. Thanks for the PR. It's much appreciated, and I'll definitely take a look at it as soon as I get a chance. It may be a few days though,...

I'm in India on a business trip. working around the clock. no time to work on code right now. But I'll get back to it when I return to the...

@thesharlinator - Please look at the [Changelog](https://github.com/APIDevTools/swagger-express-middleware/blob/master/CHANGELOG.md), which explains the changes in 4.0.0 and how to adapt to them

There are a few different ways that you can [customize the behavior of the mock middleware](https://github.com/BigstickCarpet/swagger-express-middleware/blob/master/docs/middleware/mock.md#customizing-behavior). You can inject your own middleware before the mock middleware to modify the request...

Shit. I just realized that I have some un-pushed commits from back in October. This is one of them: ![screen shot 2016-01-15 at 3 10 13 pm](https://cloud.githubusercontent.com/assets/3453903/12365397/2fb8123c-bb9a-11e5-9c6c-f3034b940209.png)

Actually... can you go ahead and make that change yourself? I'm going to back-out the commits I made, because it also includes breaking changes that I really should have done...

Sorry for the radio silence. The past several days have been super busy for me, and I haven't even been able to get online much. I should be able to...