Skip to content

Commit b14a821

Browse files
committed
Add organization id to login swagger doc
1 parent ea318f4 commit b14a821

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ApiTesting.http

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ Accept: application/json
3939
### Token provided, get token from login
4040
GET http://localhost:3000/example/with-auth
4141
Accept: application/json
42-
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RAdGVzdGVyLmNvbSIsImlhdCI6MTU5MjM4OTM1MiwiZXhwIjoxNTkyMzkyOTUyfQ.qEv8aABdImvMXPYHRgiDrf3x-RJ15hE57ACZkCaqc5k
42+
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RAdGVzdGVyLmNvbSIsImlhdCI6MTU5ODM0MTA1NiwiZXhwIjoxNTk4MzQ0NjU2fQ.iF7nE7uXZsPBfN_yJFA-CPj7dat7MPWgDEBieqPI2Kw
4343

4444
###

src/api/routes/AuthenticationRouter.ts

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const router: Router = Router();
2626
* schema:
2727
* $ref: ''
2828
* example:
29+
* organizationId: 1
2930
* name: Test User
3031
3132
* password: toohardpasswd

0 commit comments

Comments
 (0)