| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- openapi: 3.0.4
- info:
- title: API Documentation | Homo
- version: 1.0.0
- description: API for Homo, home automation software
- servers:
- - url: http://0.0.0.0:9123
- description: Development/local server
- tags:
- - name: User
- - name: Home
- components:
- schemas:
- User:
- $ref: "./components/schemas/user.yaml"
- Home:
- $ref: "./components/schemas/home.yaml"
- responses:
- "400":
- $ref: "./components/responses/400.yaml"
- "401":
- $ref: "./components/responses/401.yaml"
- "403":
- $ref: "./components/responses/403.yaml"
- "404":
- $ref: "./components/responses/404.yaml"
- "500":
- $ref: "./components/responses/500.yaml"
- securitySchemes:
- $ref: "./components/security.yaml"
- paths:
- #User
- /user:
- post:
- $ref: "./paths/user/create.yaml"
- get:
- $ref: "./paths/user/get_one.yaml"
- /user/login:
- post:
- $ref: "./paths/user/login.yaml"
- /user/logout:
- post:
- $ref: "./paths/user/logout.yaml"
- #Home
- /home:
- post:
- $ref: "./paths/home/create.yaml"
- get:
- $ref: "./paths/home/get_many.yaml"
- /home/{home_id}:
- delete:
- $ref: "./paths/home/delete.yaml"
|