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

22 lines
357 B
YAML

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