Commit 5896db7a authored by Bogdan's avatar Bogdan

Bugfix: fixed routes file.

parent 3543e66a
...@@ -289,7 +289,7 @@ paths: ...@@ -289,7 +289,7 @@ paths:
#endregion #endregion
#region Similarity #region Similarity
/use_cases/{use_case}/clusterSimilarity: /use_cases/{use_case}/batches/{batchNr}/clusterSimilarity:
get: get:
operationId: "routes.similarity.get_similarity_use_case" operationId: "routes.similarity.get_similarity_use_case"
security: security:
...@@ -299,12 +299,12 @@ paths: ...@@ -299,12 +299,12 @@ paths:
summary: "Get data of the similarity between clusters given the Use-case." summary: "Get data of the similarity between clusters given the Use-case."
parameters: parameters:
- name: "use_case" - name: "use_case"
in: "query" in: "path"
description: "Name of the Use-Case" description: "Name of the Use-Case"
required: true required: true
type: "string" type: "string"
- name: "batchNr" - name: "batchNr"
in: "query" in: "path"
description: "Batch number (starting from 0)" description: "Batch number (starting from 0)"
required: true required: true
type: "integer" type: "integer"
...@@ -315,7 +315,7 @@ paths: ...@@ -315,7 +315,7 @@ paths:
description: "Successful operation" description: "Successful operation"
schema: schema:
$ref: "#/definitions/ClusterSimilarityArray" $ref: "#/definitions/ClusterSimilarityArray"
/use_cases/{use_case}/tables/{table}/clusterSimilarity: /use_cases/{use_case}/tables/{table}/batches/{batchNr}/clusterSimilarity:
get: get:
operationId: "routes.similarity.get_similarity_table" operationId: "routes.similarity.get_similarity_table"
security: security:
...@@ -335,7 +335,7 @@ paths: ...@@ -335,7 +335,7 @@ paths:
required: true required: true
type: "string" type: "string"
- name: "batchNr" - name: "batchNr"
in: "query" in: "path"
description: "Batch number (starting from 0)" description: "Batch number (starting from 0)"
required: true required: true
type: "integer" type: "integer"
...@@ -347,7 +347,7 @@ paths: ...@@ -347,7 +347,7 @@ paths:
schema: schema:
$ref: "#/definitions/ClusterSimilarityArray" $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: get:
operationId: "routes.similarity.get_similarity_layer" operationId: "routes.similarity.get_similarity_layer"
security: security:
...@@ -357,22 +357,22 @@ paths: ...@@ -357,22 +357,22 @@ paths:
summary: "Get data of the similarity between clusters given the Use-case, table and layer name" summary: "Get data of the similarity between clusters given the Use-case, table and layer name"
parameters: parameters:
- name: "use_case" - name: "use_case"
in: "query" in: "path"
description: "Name of the Use-Case" description: "Name of the Use-Case"
required: true required: true
type: "string" type: "string"
- name: "table" - name: "table"
in: "query" in: "path"
description: "Name of the Table" description: "Name of the Table"
required: true required: true
type: "string" type: "string"
- name: "layer_name" - name: "layer_name"
in: "query" in: "path"
description: "Name of the layer" description: "Name of the layer"
required: true required: true
type: "string" type: "string"
- name: "batchNr" - name: "batchNr"
in: "query" in: "path"
description: "Batch number (starting from 0)" description: "Batch number (starting from 0)"
required: true required: true
type: "integer" 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