How your API reacts when you don’t send a required parameter is up to your app…

 

 

 

From: <[email protected]> on behalf of Danny 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Friday, 5 May 2017 at 8:18
To: Swagger <[email protected]>
Subject: Requiring a parameter to show data

 

Hello,  

I have set up some basic APIs and have tried setting a parameter as "Required" 
but even when it is set to required, the client can call the endpoint without 
the parameter and it returns all the data.  Any advice would be appreciated!

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.


-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to