Winnie
Winnie
> I dont have tiled demo yet but i saw them :) @ivanpopelyshev Where should such a demo be put? Would it be part of https://github.com/pixijs/examples?
~~Maybe, I was wrong for the case that the middleware is used with an express application. You can set the data store to be used based on the status code...
@Fabriciu No, we decided not to use swagger.
This pull request includes the changes of #26. Maybe that can be split up?
Interestingly, the newer Node.js versions seem to come up with a different size for the test PDF file. `0.10` to `0.12` return a size of `258441` while `4.2` and `5.4`...
I've just seen that the [`Content-Length`](https://github.com/BigstickCarpet/swagger-express-middleware/blob/3826ef26c59c4c9ebe2aaaae3e146ca7a9d209d8/tests/specs/mock/query-resource.spec.js#L509) matches for all versions and is equal to the result of `du`. But why does it differ from [`res.text.length`](https://github.com/BigstickCarpet/swagger-express-middleware/blob/3826ef26c59c4c9ebe2aaaae3e146ca7a9d209d8/tests/specs/mock/query-resource.spec.js#L521)?
Well, that could "fix" it. :wink: (still... what happens with these control characters is beyond my understanding...) If you don't mind sharing the commit, that would be awesome :sparkles:
Pushed it, but hooray another one... I'll try to continue fixing them.
superagent adds the `Content-Length` header [automagically](https://github.com/visionmedia/superagent/blob/5155e8bba2a3806ea47839c2b6e647e754fd64dd/lib/node/index.js#L907-L910), so it needs to be removed when testing for its absence. I'm not sure how this test could not fail earlier... :wink:
Looks like all tests are running for 4 and 5 now. :sparkles: :shipit: ?