Skip to content

Commit

Permalink
Fix OpenAPI examples
Browse files Browse the repository at this point in the history
Signed-off-by: yubiuser <[email protected]>
  • Loading branch information
yubiuser committed Feb 21, 2025
1 parent feead92 commit ec73bd8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions src/api/docs/content/specs/info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ components:
value: 40.0
max: null
crit: null
path: "temp1"
sensor: "temp1"
- name: "nct6793"
path: "hwmon2"
source: "devices/platform/nct6775.656"
Expand All @@ -541,12 +541,12 @@ components:
value: 59.5
max: null
crit: null
path: "temp1"
sensor: "temp1"
- name: CPUTIN
value: 40.0
max: null
crit: null
path: "temp2"
sensor: "temp2"
- name: "k10temp"
path: "hwmon3"
source: "devices/pci0000:00/0000:00:18.3"
Expand All @@ -555,12 +555,12 @@ components:
value: 58.875
max: 70.0
crit: null
path: "temp1"
sensor: "temp1"
- name: "Tctl"
value: 58.875
max: null
crit: null
path: "temp2"
sensor: "temp2"
- name: "coretemp"
path: "hwmon4"
source: "devices/platform/coretemp.0"
Expand All @@ -569,17 +569,17 @@ components:
value: 48.0
max: 100.0
crit: 100.0
path: "temp1"
sensor: "temp1"
- name: "Core 0"
value: 48.0
max: 100.0
crit: 100.0
path: "temp2"
sensor: "temp2"
- name: "Core 1"
value: 47.0
max: 100.0
crit: 100.0
path: "temp3"
sensor: "temp3"
cpu_temp:
type: number
description: CPU temperature (best guess, may be *null* if no sensor can be reliably identified, please report if you encounter this)
Expand Down
4 changes: 2 additions & 2 deletions src/api/docs/content/specs/queries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ components:
time: 19
list_id: NULL
upstream: "localhost#5353"
dbid: 112421354
id: 112421354
ede:
code: 0
text: null
Expand All @@ -268,7 +268,7 @@ components:
time: 12.3
list_id: NULL
upstream: "localhost#5353"
dbid: 112421355
id: 112421355
ede:
code: 0
text: null
Expand Down

0 comments on commit ec73bd8

Please sign in to comment.