Closed PaulFarault closed 1 year ago
https://github.com/TOSIT-IO/tdp-server/blob/bf64bbeb5e204cedb55c0973f1338a3c22871d3a/tdp_server/schemas/component.py#L12-L16
Is it relevant to add both componentId and serviceId to the GET endpoints (/services, services/{serviceId}, /services/{serviceId}/components/{componentId})?
componentId
serviceId
/services
services/{serviceId}
/services/{serviceId}/components/{componentId}
I can do the PR.
https://github.com/TOSIT-IO/tdp-server/blob/bf64bbeb5e204cedb55c0973f1338a3c22871d3a/tdp_server/schemas/component.py#L12-L16
Is it relevant to add both
componentId
andserviceId
to the GET endpoints (/services
,services/{serviceId}
,/services/{serviceId}/components/{componentId}
)?I can do the PR.