Skip to content

Add OpenAPI 3.0.3 specification for Home IoT API#1

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/create-home-iot-api-yaml
Draft

Add OpenAPI 3.0.3 specification for Home IoT API#1
Copilot wants to merge 2 commits intomainfrom
copilot/create-home-iot-api-yaml

Conversation

Copy link

Copilot AI commented Feb 3, 2026

Creates a single YAML file defining the Home IoT API specification.

Implementation

  • OpenAPI 3.0.3 spec at home-iot-api.yaml
  • 5 REST endpoints for device management (list, create, read, update, delete, status)
  • 4 schema components: Device, DeviceInput, DeviceUpdate, DeviceStatus
  • Device types: light, thermostat, camera, lock, sensor
  • Status states: online, offline, error

API Structure

paths:
  /devices:
    get: List all IoT devices
    post: Register new device
  /devices/{deviceId}:
    get: Get device details
    put: Update device configuration
    delete: Remove device
  /devices/{deviceId}/status:
    get: Get current device status

Device schema includes id, name, type, location, status, and lastUpdated timestamp.

Original prompt

Create simpe project with 1 yaml home-iot-api


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: ntomczyk-smartbear <112686250+ntomczyk-smartbear@users.noreply.github.com>
Copilot AI changed the title [WIP] Create simple project with home-iot-api YAML Add OpenAPI 3.0.3 specification for Home IoT API Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants