Any tools for generating a web form out of a model in the swagger spec?

24 views
Skip to first unread message

Renier Morales

unread,
Sep 14, 2017, 9:37:32 PM9/14/17
to Swagger
Hi,

Anyone knows of a tool to generate a form on the web out of a model in the swagger spec?
Seems to me there is enough information to tell which are the required fields, type, descriptions, etc. to generate a good form. Makes me think something like that must exist already somewhere.

Thx.

Ron Ratovsky

unread,
Sep 15, 2017, 5:54:10 AM9/15/17
to swagger-sw...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Renier Morales

unread,
Sep 18, 2017, 10:21:30 AM9/18/17
to swagger-sw...@googlegroups.com
No, that does not create a form based on the model fields. It just provides a big text area so you can enter the model in whatever representation format is supported (e.g. JSON, XML). I'm was hoping for something that will render form fields, one for each field in the model, taking into account the type of each model field to provide the proper form field.

-Renier

You received this message because you are subscribed to a topic in the Google Groups "Swagger" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swagger-swaggersocket/W6rtfPjelgI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swagger-swaggers...@googlegroups.com.

Ron Ratovsky

unread,
Sep 18, 2017, 11:50:28 AM9/18/17
to swagger-sw...@googlegroups.com

We used to have that functionality in a previous version of swagger-ui. We’ll probably introduce it again, though it’s not high on our list at the moment.

Of course community contributions could help.

Reply all
Reply to author
Forward
0 new messages