Commit 5896db7a authored by Bogdan's avatar Bogdan

Bugfix: fixed routes file.

parent 3543e66a
......@@ -289,7 +289,7 @@ paths:
#endregion
#region Similarity
/use_cases/{use_case}/clusterSimilarity:
/use_cases/{use_case}/batches/{batchNr}/clusterSimilarity:
get:
operationId: "routes.similarity.get_similarity_use_case"
security:
......@@ -299,12 +299,12 @@ paths:
summary: "Get data of the similarity between clusters given the Use-case."
parameters:
- name: "use_case"
in: "query"
in: "path"
description: "Name of the Use-Case"
required: true
type: "string"
- name: "batchNr"
in: "query"
in: "path"
description: "Batch number (starting from 0)"
required: true
type: "integer"
......@@ -315,7 +315,7 @@ paths:
description: "Successful operation"
schema:
$ref: "#/definitions/ClusterSimilarityArray"
/use_cases/{use_case}/tables/{table}/clusterSimilarity:
/use_cases/{use_case}/tables/{table}/batches/{batchNr}/clusterSimilarity:
get:
operationId: "routes.similarity.get_similarity_table"
security:
......@@ -335,7 +335,7 @@ paths:
required: true
type: "string"
- name: "batchNr"
in: "query"
in: "path"
description: "Batch number (starting from 0)"
required: true
type: "integer"
......@@ -347,7 +347,7 @@ paths:
schema:
$ref: "#/definitions/ClusterSimilarityArray"
/use_cases/{use_case}/tables/{table}/layers/{layer_name}/clusterSimilarity:
/use_cases/{use_case}/tables/{table}/layers/{layer_name}/batches/{batchNr}/clusterSimilarity:
get:
operationId: "routes.similarity.get_similarity_layer"
security:
......@@ -357,22 +357,22 @@ paths:
summary: "Get data of the similarity between clusters given the Use-case, table and layer name"
parameters:
- name: "use_case"
in: "query"
in: "path"
description: "Name of the Use-Case"
required: true
type: "string"
- name: "table"
in: "query"
in: "path"
description: "Name of the Table"
required: true
type: "string"
- name: "layer_name"
in: "query"
in: "path"
description: "Name of the layer"
required: true
type: "string"
- name: "batchNr"
in: "query"
in: "path"
description: "Batch number (starting from 0)"
required: true
type: "integer"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment