Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Commit

Permalink
add "default" annotations for hardware_product
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed Jan 19, 2021
1 parent 943121e commit ffe7804
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/json-schema/request.json
Expand Up @@ -406,6 +406,21 @@
},
"HardwareProductUpdate" : {
"additionalProperties" : false,
"default" : {
"cpu_num" : 0,
"dimms_num" : 0,
"nics_num" : 0,
"nvme_ssd_num" : 0,
"psu_total" : 0,
"raid_lun_num" : 0,
"ram_total" : 0,
"sas_hdd_num" : 0,
"sas_ssd_num" : 0,
"sata_hdd_num" : 0,
"sata_ssd_num" : 0,
"specification" : {},
"usb_num" : 0
},
"minProperties" : 1,
"properties" : {
"alias" : {
Expand Down
14 changes: 14 additions & 0 deletions json-schema/request.yaml
Expand Up @@ -404,6 +404,20 @@ $defs:
deprecated: true
title: Number of USBs
type: integer
default:
specification: {}
cpu_num: 0
dimms_num: 0
ram_total: 0
nics_num: 0
sata_hdd_num: 0
sas_hdd_num: 0
sata_ssd_num: 0
psu_total: 0
usb_num: 0
sas_ssd_num: 0
nvme_ssd_num: 0
raid_lun_num: 0
Login:
type: object
$ref: '#/$defs/UserIdOrEmail'
Expand Down

0 comments on commit ffe7804

Please sign in to comment.