iphra
6 years agoOccasional Visitor
Referencing part of a component
Hi, in the component section i defined an object Book having some properties. I want to refer to this component in two distinct endpoints, one using the whole Book object in the response, but the other one using just some properties of this Book object in its response body.
In the last case, is it correct to refer to the Book component or should i define another one?