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

22 lines
324 B
YAML

Gets a role
---
tags:
- Role
parameters:
- in: path
name: role_id
required: true
type: integer
description: Id of the role
responses:
200:
description: Success
schema:
type: object
required:
- content
properties:
content:
$ref: '#/definitions/Role'