phil pcs
phil pcs

Reputation: 1

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

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

Upvotes: 0

Views: 100

Answers (0)

Related Questions