Hacker News new | ask | show | jobs
by easton 1883 days ago
This is the dream, honestly. Dynamic form creation from specs. PowerShell has something like it (for a function it will create you a ugly form that you can render), but if you could deliver a OpenAPI spec and have Bootstrap (or whatever) UI on the frontend automatically generated.
2 comments

The Swagger UI[0] is more a documentation/exploration tool for APIs, but it shows enough of what you can do that I don't think it'd be all that difficult to generate something that you'd want to put on your own website.

[0] https://swagger.io/tools/swagger-ui/

This is not quite what you mean, but I've used it before to decent success:

https://github.com/rjsf-team/react-jsonschema-form