Commit 82b4a802 authored by Manuel's avatar Manuel

restGateway: renamed 'rest' to 'routes'

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