Commit 82b4a802 authored by Manuel's avatar Manuel

restGateway: renamed 'rest' to 'routes'

parent 6d635852
...@@ -22,7 +22,7 @@ paths: ...@@ -22,7 +22,7 @@ paths:
get: get:
security: security:
- JwtRegular: [] - JwtRegular: []
operationId: "rest.user.secret" operationId: "routes.user.secret"
tags: tags:
- "User" - "User"
summary: "Testpage for authentication" summary: "Testpage for authentication"
...@@ -34,7 +34,7 @@ paths: ...@@ -34,7 +34,7 @@ paths:
description: "No or an invalid token was provided" description: "No or an invalid token was provided"
/tokens/{token}: /tokens/{token}:
post: post:
operationId: "rest.user.verify" operationId: "routes.user.verify"
tags: tags:
- "User" - "User"
summary: "Verifies a user token" summary: "Verifies a user token"
...@@ -52,7 +52,7 @@ paths: ...@@ -52,7 +52,7 @@ paths:
description: "Invalid token" description: "Invalid token"
/tokens: /tokens:
post: post:
operationId: "rest.user.authenticate" operationId: "routes.user.authenticate"
tags: tags:
- "User" - "User"
summary: "Authenticates user at the backend" summary: "Authenticates user at the backend"
...@@ -74,7 +74,7 @@ paths: ...@@ -74,7 +74,7 @@ paths:
delete: delete:
security: security:
- JwtAdmin: [] - JwtAdmin: []
operationId: "rest.user.delete" operationId: "routes.user.delete"
tags: tags:
- "User" - "User"
summary: "Deletes a user identified by the username from the database" summary: "Deletes a user identified by the username from the database"
...@@ -94,7 +94,7 @@ paths: ...@@ -94,7 +94,7 @@ paths:
get: get:
security: security:
- JwtAdmin: [] - JwtAdmin: []
operationId: "rest.user.all" operationId: "routes.user.all"
tags: tags:
- "User" - "User"
summary: "Retrieves all users from the database" summary: "Retrieves all users from the database"
...@@ -109,7 +109,7 @@ paths: ...@@ -109,7 +109,7 @@ paths:
'400': '400':
description: wrong username or password description: wrong username or password
post: post:
operationId: "rest.user.add" operationId: "routes.user.add"
tags: tags:
- "User" - "User"
summary: "Adds a new user to the database" summary: "Adds a new user to the database"
...@@ -135,7 +135,7 @@ paths: ...@@ -135,7 +135,7 @@ paths:
/debug: /debug:
post: post:
operationId: "rest.debug.echo" operationId: "routes.debug.echo"
tags: tags:
- "Echo" - "Echo"
summary: "Echo function for debugging purposes" summary: "Echo function for debugging purposes"
...@@ -152,7 +152,7 @@ paths: ...@@ -152,7 +152,7 @@ paths:
/trace: /trace:
post: post:
operationId: "rest.blockchain_trace.receive" operationId: "routes.blockchain_trace.receive"
tags: tags:
- "Blockchain Trace" - "Blockchain Trace"
summary: "Add a new blockchain trace to SMART" summary: "Add a new blockchain trace to SMART"
......
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