Skip to content

Commit

Permalink
chore(roles): correct swagger doc
Browse files Browse the repository at this point in the history
  • Loading branch information
devdbrandy committed Mar 23, 2019
1 parent 6dae347 commit 639f45e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions routes/roles.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const router = express.Router();
/**
* @swagger
* /api/v1/roles:
* post:
* get:
* tags:
* - roles
* description: Fetch a list of all roles
Expand All @@ -42,7 +42,7 @@ router.get(
/**
* @swagger
* /api/v1/roles/:roleId:
* post:
* get:
* tags:
* - roles
* description: Fetch a specified role
Expand Down Expand Up @@ -102,7 +102,7 @@ router.post(
/**
* @swagger
* /api/v1/roles/:roleId:
* post:
* patch:
* tags:
* - update role
* description: Update a role
Expand Down

0 comments on commit 639f45e

Please sign in to comment.