Ask a Question

How do I make Swagger use form inputs

hopkir
Frequent Visitor

How do I make Swagger use form inputs

At work we have several APIs, all of which implement Swagger for QA. In a new project, the view is completely different than the older sites. In the older sites, we have form inputs for the QA people to use, while in the new site there is just a textarea where they have to input json strings. Not all of our QA people are technical, so we'd like to make this as simple as possible for them, and would like the new site to look similar to the old ones.

Here's what the old site looks like:

hopkir_0-1643295564382.png

 

Here's what the new site looks like:

hopkir_1-1643295608609.png

 

What do I need to do to enable the form inputs in the new site?

1 REPLY 1
HKosova
SmartBear Alumni (Retired)

Swagger UI 3.x and 4.x do not have a form editor for JSON objects. Here's the corresponding enhancement request that you can track:

https://github.com/swagger-api/swagger-ui/issues/2771


Helen Kosova
SmartBear Documentation Team Lead
________________________
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: