Forum Discussion

NallaAnand's avatar
NallaAnand
New Contributor
28 days ago

Links

Hello,

I wonder why the Links are created at the Provider Endpoint instead of the Consumer Endpoint.

For example if lets say endpoint "getDept" is invoked by "postEmployee", it appears that the links are created under "getDept" spec.

Why should the provider know about its clients. Particularly consider scenarios where the dependencies are between 2 different API specs. 

Would it have been better if the Links are defined on the consumer side specs.