Commit 493b9309 authored by Manuel's avatar Manuel

changed /use-case to /use-cases

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