simonguest / swagger-mongoose

Generate mongoose schemas and models from swagger documents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should support nested schemas

simonguest opened this issue · comments

Current version only supports flat schemas. Future request would be to support nested schemas.

Hello Simon!

Any updates regarding this issue?

Hi Semisay - just saw that you issued a PR, but seemed to close it before I could test/commit. Do you want to go ahead and resubmit or are you still working on it? Thanks.

Any update on nested schemas?

I have a submitted PR, but haven't had time to test it (or to write a test). You are welcome to take a look if you'd like however.

That's great. I will at least test it (even though I will probably don't have time to write tests). I am using it along with a modified version of https://github.com/krakenjs/generator-swaggerize.
If there was a simple way to integrate swagger-mongoose into it, then I could even write the test case.
Do you have any advice on the matter?

Best,
Luca

Functionality now added. 27d4b21