We expect variables to be an array containing all the defined variables for a given service>component.
Suggestion
Following #54, variables could be replaced by an isUsed field. This would allow the client to know both the list of all components and which component are in used without duplicating the result of the GET /api/v1/service/{service_id} endpoint.
On
GET /api/v1/service/
,variables
field appears asnull
for each service>component. Ex:We expect
variables
to be an array containing all the defined variables for a given service>component.Suggestion
Following #54,
variables
could be replaced by anisUsed
field. This would allow the client to know both the list of all components and which component are in used without duplicating the result of theGET /api/v1/service/{service_id}
endpoint.