Skip to content

Commit

Permalink
update api spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Chakravarthy7102 committed Nov 16, 2023
1 parent 60f1db0 commit f49e3e2
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions api_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1274,50 +1274,13 @@ paths:
tags:
- User Roles and Permissions
summary: Get all created roles
parameters:
- name: page
in: query
required: false
schema:
type: number
example: "1"
- name: limit
in: query
required: false
schema:
type: number
example: "10"
responses:
200:
description: Success
content:
application/json:
schema:
oneOf:
- type: object
properties:
status:
type: string
default: "OK"
totalPages:
type: number
default: 5
totalRolesCount:
type: number
default: 50
roles:
type: array
items:
type: object
properties:
role:
type: string
default: "admin"
permissions:
type: array
items:
type: string
default: "read"
- type: object
properties:
status:
Expand Down

0 comments on commit f49e3e2

Please sign in to comment.