how can I specify that an input parameter depends on another parameter

91 Views Asked by At

In my Rest Service i could have request country parameter by two way On in subOject from main User Object and an other way friendly is country code in String Could i in Spring RestsDocs says if firendly country Code is not exist subobject is necessary ? Regards

I just want viewing in documentation that subobject country is necessary if friendly country code not exist

0

There are 0 best solutions below