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

16 lines
256 B
YAML
Raw Normal View History

2018-09-23 11:56:41 +00:00
Creates new role
Requires Role object and creates role
---
tags:
- Role
parameters:
- in: body
name: body
required: true
schema:
type: object
$ref: '#/definitions/Role'
2018-09-23 11:56:41 +00:00
responses:
201:
description: Successful creation