Joe Spencer

Results 181 comments of Joe Spencer

Are you using `swagger-node-express`?

Nice. I like those a lot. I think you should be able to do something with swagger by adding `.spec` to the resource methods. Not sure though. I'd love to...

I hear you on redundancy. There's a [PR](https://github.com/wordnik/swagger-node-express/pull/132#issuecomment-46264657) right now for `swagger` that would turn `action` into a pipeline. I like that cause now you can have middleware on an...

It may be possible to do something like this in `express-crud`: ``` javascript //User.js var User = module.exports = { read: function(query, cb){} }; //controller.js var swagger = require('../my/swagger'); var...

@gabhi if you have a chance, checkout https://github.com/kogosoftwarellc/express-openapi. It's super easy to develop express apis with it.

For example: ``` json "securityDefinitions": { "basicAuth": { "type": "basic" }, "tokenAuth": { "type": "oauth2", ...... } }, "security": [ { "basicAuth": [], "tokenAuth": ["user", "user:write"] } ] ```

I'm assuming this is possible because there really isn't a way to prevent this with json schema. So while it's technically possible to create this scenario according to the schema,...

That's pretty much how I was thinking about it, but wanted to bring this up so others are aware. I'm working on an implementation for security and wanted to get...