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

22 lines
331 B
YAML

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