Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Boilerplate from one openapi spec #355

Open
dwebfan opened this issue May 24, 2021 · 3 comments
Open

Boilerplate from one openapi spec #355

dwebfan opened this issue May 24, 2021 · 3 comments

Comments

@dwebfan
Copy link

dwebfan commented May 24, 2021

Is your feature request related to a problem? Please describe.
Thanks for the project helping people to auto-generate most codes easily. But it would be great to also generate the whole project as boilerplate if possible.

Describe the solution you'd like
Similiar as https://github.com/pankod/next-boilerplate, if people can run cli by providing one openAPI spec, one project can be autocreated, even some simple layout can be created, it would be super useful for any new people.

Describe alternatives you've considered

Additional context

@fabien0102
Copy link
Contributor

Hi @dwebfan, thanks for the idea!

Just a little question to make sure I do really understand what you want:
What do you have in mind as flow?

  1. A plugin for https://github.com/pankod/superplate#creating-a-plugin
  2. a little restful-react init to help you bootstrap the config?
  3. or something else?

@dwebfan
Copy link
Author

dwebfan commented May 25, 2021

yes, #1 and #2 is exactly what I mean. I feel superplate has bootstrap one project capability but lack of openAPI support, and also mainly focus node.js backend, not open for other language. But your project can leverage openAPI spec and auto-create UI sides codes, so I feel they are complementary, and the integration btw this two projects would be very powerful.

@fabien0102
Copy link
Contributor

I like the idea, if you want to play with a superplate plugin, please do it and we can add the plugin in the README.md

For the restful-react init this is my todolist since a long time, I'm just missing time for side projects 😅

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants