university-final-iot-backend/app/api/resources/swagger/get_roles_spec.yaml

17 lines
253 B
YAML

Gets all roles
---
tags:
- Role
responses:
200:
description: Success
schema:
type: object
required:
- roles
properties:
devices:
type: array
items:
$ref: '#/definitions/Role'