Closed notxt closed 8 years ago
Can you change type
to $ref
for the items
definition? It should look like this:
items: {
$ref: '#/definitions/World'
}
Updated the README. Let me know if this is still an issue for you @notxt. Thanks for reporting it!
works! there was one other little error that I put in a pr for
Thanks a ton @notxt ! I hope you enjoy the framework.
oh I'm already loving it, I was a big fan of swagger via hapi-swagger which I used at my old job. Just got a new one and they use express. It's taken me a minute find good equivalent but I'm liking your philosophy of Stays as close to express as possible.
How long has the project been around?
It's been around for about 9 months. I developed it while at my last contract. We started off using swaggerize-express, but found that one to be too buggy. I wanted a framework that leveraged jsonschema which the main reason I wrote this.
Getting:
when I try to do the example in the
readme
I'm a bit new to openapi but it seems like it's not recognizing
200
as a valid responses key, which I believe it should be... michael