Results 370 comments of Jeremy Whitlock

Not that I'm aware of. I created an issue here: https://github.com/apigee-127/sway/issues/94

Sorry for the delayed response. Mock values use to work this way but examples and mocks are not the same thing. Since the example values are just text and do...

IoC seems to be outside the scope of this middleware. If we _need_ it, I'm for it but in all honesty, swagger-router already provides a way for you to programmatically...

I'm not disagreeing, I'm just saying that this has nothing to do with Swagger so I question whether swagger-tools should be involved. If your route handler has some dependencies, creating...

How do you do this now? It sounds like you have some sort of initialization process for controllers and/or route handlers. Can I see an example?

Why not make your controllers created via a factory? Then async and dependencies are not an issue. And then you could also drive the `options.controllers` feature of swagger-router. Just a...

I'll continue to think as well.

I understand but that is how the routing middleware was written. The current approach for swagger-tools' routing middleware is to be capable of creating a route handler map based on...

I don't think it was intended for this, I'll have to check.

I have no idea how `swagger-tools` is involved here. I don't see any mention of `swagger-tools` and the screenshot isn't helping. Can you provide more details?