Sequence diagram to REST API - donvadicastro/generator-xmi GitHub Wiki
Each sequence diagram presented in model will be translated into individual REST API endpoint that can interact with system through POST method.
Diagram
REST API contract
REST API call
curl -X POST "http://localhost:3000/api/v1/sequence" -H "accept: application/json"
--> initialize local state storage
--> c1::fn1: 1 ms
--> c2::fn2: 0 ms
--> c1::ret1: 0 ms