You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using pyswagger to make internal service call through gateway. Gateway validates request body with the related model by using model primitive. The problem is apply_with method in the model primitive enforce us to include all required fields in our requests body. Especially for the update calls we don't want to include required fields which we don't want to update. I found this code under aply_with
We are using pyswagger to make internal service call through gateway. Gateway validates request body with the related model by using model primitive. The problem is
apply_with
method in the model primitive enforce us to include all required fields in our requests body. Especially for the update calls we don't want to include required fields which we don't want to update. I found this code underaply_with
pyswagger/pyswagger/primitives/_model.py
Line 47 in 333c4ca
I just want to learn that what is the reason behind this ? Is this best practice?
Thanks.
The text was updated successfully, but these errors were encountered: