59 lines
985 B
JSON
59 lines
985 B
JSON
{
|
|
"swagger": "2.0",
|
|
"info": {
|
|
"version": "0.0.1"
|
|
},
|
|
"basePath": "/",
|
|
"paths": {
|
|
"/cycles": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "ok",
|
|
"schema": {
|
|
"$ref": "#/definitions/node0"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"definitions": {
|
|
"node0": {
|
|
"type": "object",
|
|
"properties": {
|
|
"p00": {
|
|
"$ref": "#/definitions/node1"
|
|
},
|
|
"p01": {
|
|
"$ref": "#/definitions/node3"
|
|
}
|
|
}
|
|
},
|
|
"node1": {
|
|
"type": "object",
|
|
"properties": {
|
|
"p1": {
|
|
"$ref": "#/definitions/node2"
|
|
}
|
|
}
|
|
},
|
|
"node2": {
|
|
"type": "object",
|
|
"properties": {
|
|
"p2": {
|
|
"$ref": "#/definitions/node0"
|
|
}
|
|
}
|
|
},
|
|
"node3": {
|
|
"type": "object",
|
|
"properties": {
|
|
"p3": {
|
|
"$ref": "#/definitions/node1"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|