Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
update token to tokens (#4389)
Browse files Browse the repository at this point in the history
Co-authored-by: yiyione <yiyi_one@foxmail.com>
  • Loading branch information
yiyione and yiyione authored Apr 16, 2020
1 parent dc470f0 commit 01a183e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/rest-server/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ paths:
- version
- launcherType
- authnMethod
/api/v2/token:
/api/v2/tokens:
get:
tags:
- token
Expand All @@ -93,7 +93,7 @@ paths:
- tokens
'401':
$ref: '#/components/responses/UnauthorizedUserError'
'/api/v2/token/{token}':
'/api/v2/tokens/{token}':
delete:
tags:
- token
Expand All @@ -117,7 +117,7 @@ paths:
$ref: '#/components/responses/UnauthorizedUserError'
'403':
$ref: '#/components/responses/ForbiddenUserError'
/api/v2/token/application:
/api/v2/tokens/application:
post:
tags:
- token
Expand Down
2 changes: 1 addition & 1 deletion src/rest-server/src/routes/v2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ router.use('/groups', groupRouter);

router.use('/storages', storageRouter);
router.use('/storage', storageDeprecatedRouter);
router.use('/token', tokenRouter);
router.use('/tokens', tokenRouter);
router.use('/kubernetes', k8sRouter);

// module exports
Expand Down

0 comments on commit 01a183e

Please sign in to comment.