Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swagger-es-6:model generate mongoose schema. #16

Open
3 tasks
Eskalol opened this issue Dec 27, 2017 · 0 comments
Open
3 tasks

swagger-es-6:model generate mongoose schema. #16

Eskalol opened this issue Dec 27, 2017 · 0 comments

Comments

@Eskalol
Copy link
Owner

Eskalol commented Dec 27, 2017

Generate mongoose schema according to the swagger files definitions

User will be prompted to select a schema defined in the swagger yaml to be generated as a mongoose schema.

  • Read and parse swagger.yaml file (some node yaml lib would be good here for parsing)
  • Generate a select prompt with schema definitions as options.
  • Generate the mongoose schema according to the selected swagger schema definition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant