Hacker News new | past | comments | ask | show | jobs | submit login

It's interesting to think about this sort of thing: interactive forms generated from OpenAPI specs? Some way to plug-in handlers for specific mime-types? etc.



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.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: