1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-03 21:10:05 +00:00

chore: conditionally call authorize middleware from authenticateToken

This commit is contained in:
2022-07-04 20:13:46 +05:00
parent b10e932605
commit e42fdd3575
9 changed files with 79 additions and 75 deletions

View File

@@ -550,12 +550,12 @@ components:
additionalProperties: false
AuthorizedRoutesResponse:
properties:
routes:
URIs:
items:
type: string
type: array
required:
- routes
- URIs
type: object
additionalProperties: false
ExecuteReturnJsonPayload:
@@ -1615,7 +1615,7 @@ paths:
$ref: '#/components/schemas/AuthorizedRoutesResponse'
examples:
'Example 1':
value: {routes: [/AppStream, /SASjsApi/stp/execute]}
value: {URIs: [/AppStream, /SASjsApi/stp/execute]}
summary: 'Get authorized routes.'
tags:
- Info