open-api
open-api copied to clipboard
Add support for other frameworks i.e. koa, hapi...
- [x] Extract
openapi-request-coercer
- [x] Extract
openapi-request-validator
- [x] Extract
openapi-default-setter
- [x] Extract
openapi-response-validator
- [x] Extract
openapi-security-handler
- [x] Extract
openapi-project-visitor
- [x] Create
koa-openapi
- [ ] Create
hapi-openapi
- [ ] Create
restify-openapi
- [ ] Create
serverless-openapi
Hi @jsdevel, I like the idea of setting up the tooling broader - would you mind to also put restify-openapi onto the list of other frameworks?
Thx!
done @rockebee
Hi @jsdevel, your openapi solution looks very promising. What about adding support for Serverless framework?
looks pretty cool! Added to the list. PRs welcomed :smile:
Folks, any release plans for Koa? What's currently blocking it? Any help wanted?
@h2non it shouldn't take too much now that most of the functionality has been abstracted to openapi-framework
. Basically all that needs to happen is a duplication in https://github.com/kogosoftwarellc/open-api/blob/master/packages/koa-openapi/index.js of https://github.com/kogosoftwarellc/open-api/blob/master/packages/express-openapi/index.js. I can publish any changes.
This has been taking a while because I've been in the process of converting everything over to typescript, but that doesn't have to impede this.
@h2non I'll take a stab at an initial koa-openapi
implementation tonight.
@h2non see #206. Doesn't work but at least gets the ball moving. Also, I'm thinking koa-router
should be a required initialize arg seeing as how koa lacks that ootb. Thoughts?
@h2non Just released [email protected]
with #237. Has basic-usage covered. Need to write a solid README, but it mostly follows the conventions of express-openapi. See the bundled sample test for more info.
Any ETA on the restify support?
@josephgardner not yet, but the process is fairly simple given that the framework is there for express and koa. feel free to open a pr and i'll get it published