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

23 lines
381 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: Success
schema:
type: object
required:
- content
properties:
content:
$ref: '#/definitions/Role'