|
@@ -11,6 +11,7 @@ servers:
|
|
|
tags:
|
|
tags:
|
|
|
- name: User
|
|
- name: User
|
|
|
- name: Home
|
|
- name: Home
|
|
|
|
|
+ - name: Devices
|
|
|
|
|
|
|
|
components:
|
|
components:
|
|
|
schemas:
|
|
schemas:
|
|
@@ -35,7 +36,7 @@ components:
|
|
|
$ref: "./components/security.yaml"
|
|
$ref: "./components/security.yaml"
|
|
|
|
|
|
|
|
paths:
|
|
paths:
|
|
|
- #User
|
|
|
|
|
|
|
+ #Users
|
|
|
/user:
|
|
/user:
|
|
|
post:
|
|
post:
|
|
|
$ref: "./paths/user/create.yaml"
|
|
$ref: "./paths/user/create.yaml"
|
|
@@ -48,7 +49,7 @@ paths:
|
|
|
post:
|
|
post:
|
|
|
$ref: "./paths/user/logout.yaml"
|
|
$ref: "./paths/user/logout.yaml"
|
|
|
|
|
|
|
|
- #Home
|
|
|
|
|
|
|
+ #Homes
|
|
|
/home:
|
|
/home:
|
|
|
post:
|
|
post:
|
|
|
$ref: "./paths/home/create.yaml"
|
|
$ref: "./paths/home/create.yaml"
|
|
@@ -57,3 +58,8 @@ paths:
|
|
|
/home/{home_id}:
|
|
/home/{home_id}:
|
|
|
delete:
|
|
delete:
|
|
|
$ref: "./paths/home/delete.yaml"
|
|
$ref: "./paths/home/delete.yaml"
|
|
|
|
|
+
|
|
|
|
|
+ #Devices
|
|
|
|
|
+ /home/{home_id}/device:
|
|
|
|
|
+ post:
|
|
|
|
|
+ $ref: "./paths/device/create.yaml"
|