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

22 lines
324 B
YAML
Raw Permalink Normal View History

2018-09-23 11:56:41 +00:00
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
2018-09-23 11:56:41 +00:00
properties:
content:
2018-09-23 11:56:41 +00:00
$ref: '#/definitions/Role'