cancel
Showing results for 
Search instead for 
Did you mean: 

Disable params required validation while using "Try it out"

SOLVED
New Member

Disable params required validation while using "Try it out"

Hi,

is it possible to disable the valiadition if a paramter is required when using "Try it out" functionality?

Currently you cannot execute the request under "Try it out" if not all required paramters are set. For testing purpose I would like to execute the request without specifying all required paramters.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator

Re: Disable params required validation while using "Try it out"

It's not possible to disable require parameter validation in Swagger UI.

 

You can use Swagger Inspector or cURL/wget to test requests without required parameters.


Helen Kosova
SmartBear Technical Writer
________________________

 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!

View solution in original post

1 REPLY 1
Highlighted
Moderator

Re: Disable params required validation while using "Try it out"

It's not possible to disable require parameter validation in Swagger UI.

 

You can use Swagger Inspector or cURL/wget to test requests without required parameters.


Helen Kosova
SmartBear Technical Writer
________________________

 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!

View solution in original post