Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #395 from multinet-app/swagger-fix
Browse files Browse the repository at this point in the history
Fix Swagger UI API failures
  • Loading branch information
waxlamp committed Jun 22, 2020
2 parents 0a6dcf8 + 4539e24 commit 774f7fa
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 32 deletions.
2 changes: 1 addition & 1 deletion multinet/uploaders/swagger/d3_json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ consumes:

parameters:
- $ref: "#/parameters/workspace"
- $ref: "#/parameters/table"
- $ref: "#/parameters/graph"
- name: data
in: body
description: Raw JSON text
Expand Down
61 changes: 31 additions & 30 deletions multinet/uploaders/swagger/nested_json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ consumes:

parameters:
- $ref: "#/parameters/workspace"
- $ref: "#/parameters/table"
- $ref: "#/parameters/graph"
- name: data
in: body
description: Raw JSON content of file
Expand All @@ -14,35 +14,36 @@ parameters:
example: |-
{
"children": [
"children": [
{
"edge_data": {
"weight": 12.28
},
"incoming_order": 0,
"node_data": {
"name": "a",
"awesomeness": 0.41
},
"node_fields": [
"name",
"awesomeness"
]
}
],
"edge_data": {
"weight": 3.78
},
"incoming_order": 3,
"node_data": {
"name": "c",
"awesomeness": 21.438
},
"node_fields": [
"name",
"awesomeness"
]
{
"children": [
{
"edge_data": {
"weight": 12.28
},
"incoming_order": 0,
"node_data": {
"name": "a",
"awesomeness": 0.41
},
"node_fields": [
"name",
"awesomeness"
]
}
],
"edge_data": {
"weight": 3.78
},
"incoming_order": 3,
"node_data": {
"name": "c",
"awesomeness": 21.438
},
"node_fields": [
"name",
"awesomeness"
]
}
],
"edge_data": {
"weight": 10.4
Expand Down
2 changes: 1 addition & 1 deletion multinet/uploaders/swagger/newick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ consumes:

parameters:
- $ref: "#/parameters/workspace"
- $ref: "#/parameters/table"
- $ref: "#/parameters/graph"
- name: data
in: body
description: Raw Newick text
Expand Down

0 comments on commit 774f7fa

Please sign in to comment.