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

@kubb-swagger-form #147

Closed
stijnvanhulle opened this issue Mar 27, 2023 · 4 comments
Closed

@kubb-swagger-form #147

stijnvanhulle opened this issue Mar 27, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@stijnvanhulle
Copy link
Collaborator

Create a form that is generated based on the scheme defined in the Swagger.

@weicong
Copy link

weicong commented Apr 9, 2023

I recommend form-render to you. You can see if it's worth using, but it doesn't provide documentation in English.

form-render with React, a component of XRender 2.0: https://github.com/alibaba/x-render

@stijnvanhulle stijnvanhulle added the enhancement New feature or request label Apr 9, 2023
@stijnvanhulle stijnvanhulle linked a pull request Jun 25, 2023 that will close this issue
@stijnvanhulle
Copy link
Collaborator Author

stijnvanhulle commented Jun 27, 2023

A first version(in beta) has been released: https://www.kubb.dev/plugins/swagger-form

pnpm i -D @kubb/swagger-form@1.4.1

Example with react-hook-form: https://www.kubb.dev/examples/react-hook-form

@stijnvanhulle stijnvanhulle pinned this issue Jun 27, 2023
@la55u
Copy link
Contributor

la55u commented Jun 28, 2023

not sure if it's useful for this project or not but this one is similar and supports a number of UI libs: https://github.com/rjsf-team/react-jsonschema-form

@stijnvanhulle
Copy link
Collaborator Author

I'm thinking about moving this to its own project and doing some extra research to see if it would be possible to create one package that can convert to data-driven-form, ant-forms, ...

@stijnvanhulle stijnvanhulle closed this as not planned Won't fix, can't repro, duplicate, stale Sep 10, 2023
@stijnvanhulle stijnvanhulle unpinned this issue Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants