Commit 493b9309 authored by Manuel's avatar Manuel

changed /use-case to /use-cases

parent abe097f2
......@@ -17,7 +17,7 @@ basePath: "/api"
paths:
/use-case:
/use-cases:
delete:
security:
- JwtAdmin: []
......@@ -40,7 +40,7 @@ paths:
responses:
'200':
description: "Successful Request"
/use-case/{use_case}/layers:
/use-cases/{use_case}/layers:
get:
security:
- JwtRegular: []
......@@ -60,7 +60,7 @@ paths:
description: "Successful Request"
'404':
description: "Use-Case does not exist"
/use-case/{use_case}/cluster-mapping/layers/{name}:
/use-cases/{use_case}/cluster-mapping/layers/{name}:
delete:
security:
- JwtRegular: []
......@@ -133,7 +133,7 @@ paths:
description: "Layer does not exist"
'400':
description: "Field in request is missing or attribute does not exist in the Layer"
/use-case/{use_case}/layers/use-case:
/use-cases/{use_case}/layers/use-case:
put:
security:
- JwtRegular: []
......@@ -162,7 +162,7 @@ paths:
description: "Successful Request"
'400':
description: "Field in request is missing"
/use-case/{use_case}/layers/mapping:
/use-cases/{use_case}/layers/mapping:
put:
security:
- JwtRegular: []
......@@ -222,7 +222,7 @@ paths:
description: "Successful Request"
'400':
description: "Field in request is missing"
/use-case/{use_case}/layers/mapping:
/use-cases/{use_case}/layers/mapping:
put:
operationId: "routes.layer.add_mapping_for_all"
tags:
......@@ -280,7 +280,7 @@ paths:
description: "Layer does not exist"
'400':
description: "Field in request is missing"
/use-case/{use_case}/layers/{name}/mapping:
/use-cases/{use_case}/layers/{name}/mapping:
delete:
security:
- JwtRegular: []
......@@ -354,7 +354,7 @@ paths:
description: "Layer does not exist"
'400':
description: "Field in request is missing"
/use-case/{use_case}/layers/{name}:
/use-cases/{use_case}/layers/{name}:
delete:
security:
- JwtRegular: []
......
......@@ -12,7 +12,7 @@ produces:
basePath: "/api"
paths:
/use-case:
/use-cases:
delete:
operationId: "routes.layer.delete_uses_cases"
tags:
......@@ -31,7 +31,7 @@ paths:
responses:
'200':
description: "Successful Request"
/use-case/{use_case}/layers:
/use-cases/{use_case}/layers:
get:
operationId: "routes.layer.get_all_for_use_case"
tags:
......@@ -49,7 +49,7 @@ paths:
description: "Successful Request"
'404':
description: "Use-Case does not exist"
/use-case/{use_case}/cluster-mapping/layers/{name}:
/use-cases/{use_case}/cluster-mapping/layers/{name}:
delete:
operationId: "routes.layer.delete_cluster_mapping"
tags:
......@@ -118,7 +118,7 @@ paths:
description: "Layer does not exist"
'400':
description: "Field in request is missing or attribute does not exist in the Layer"
/use-case/{use_case}/layers/use-case:
/use-cases/{use_case}/layers/use-case:
put:
operationId: "routes.layer.update_use_case_for_all"
tags:
......@@ -145,7 +145,7 @@ paths:
description: "Successful Request"
'400':
description: "Field in request is missing"
/use-case/{use_case}/layers/mapping:
/use-cases/{use_case}/layers/mapping:
put:
operationId: "routes.layer.add_mapping_for_all"
tags:
......@@ -201,7 +201,7 @@ paths:
description: "Successful Request"
'400':
description: "Field in request is missing"
/use-case/{use_case}/layers/{name}/mapping:
/use-cases/{use_case}/layers/{name}/mapping:
delete:
operationId: "routes.layer.delete_mapping"
tags:
......@@ -271,7 +271,7 @@ paths:
description: "Layer does not exist"
'400':
description: "Field in request is missing"
/use-case/{use_case}/layers/{name}:
/use-cases/{use_case}/layers/{name}:
get:
operationId: "routes.layer.one"
tags:
......
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