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

23 lines
419 B
YAML

Creates new dashboard
Requires Dashboard object and creates dashboard
---
tags:
- Dashboard
parameters:
- in: body
name: body
required: true
schema:
type: object
$ref: '#/definitions/DashboardCreation'
responses:
200:
description: Success
schema:
type: object
required:
- content
properties:
content:
$ref: '#/definitions/Dashboard'