wordnik/swagger-node-express — pull request #5 by semu (2011-11-08 21:39:37+00:00)
Title: Feature: Moved api_key validation to express

- Moved the api_key validation in `petsore` to express level and added an example for using a callback for authentication, like you may need for database access
- petstore's POST requests are protect, specs are public (violating swagger specs?)
- Added example for a global db handler in `petstore`
- `split('?')[0]` fix is included…

I think this changes the way protected methods are exported in the public json files, so I don't know If I'm violating swagger's specs with this pull request?!