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

Commit

Permalink
also add title, readOnly annotations to HardwareProducts
Browse files Browse the repository at this point in the history
...matching the changes made in 6d29f50 (PR #1069)
  • Loading branch information
karenetheridge committed Jan 4, 2021
1 parent 0298194 commit 56fecf5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
18 changes: 14 additions & 4 deletions docs/json-schema/response.json
Expand Up @@ -1520,29 +1520,39 @@
"additionalProperties" : false,
"properties" : {
"alias" : {
"$ref" : "common.json#/$defs/mojo_standard_placeholder"
"$ref" : "common.json#/$defs/mojo_standard_placeholder",
"title" : "Alias"
},
"created" : {
"format" : "date-time",
"readOnly" : true,
"title" : "Created",
"type" : "string"
},
"generation_name" : {
"title" : "Generation Name",
"type" : [
"null",
"string"
]
},
"id" : {
"$ref" : "common.json#/$defs/uuid"
"$ref" : "common.json#/$defs/uuid",
"readOnly" : true,
"title" : "ID"
},
"name" : {
"$ref" : "common.json#/$defs/mojo_standard_placeholder"
"$ref" : "common.json#/$defs/mojo_standard_placeholder",
"title" : "Name"
},
"sku" : {
"$ref" : "common.json#/$defs/mojo_standard_placeholder"
"$ref" : "common.json#/$defs/mojo_standard_placeholder",
"title" : "SKU"
},
"updated" : {
"format" : "date-time",
"readOnly" : true,
"title" : "Updated",
"type" : "string"
}
},
Expand Down
10 changes: 10 additions & 0 deletions json-schema/response.yaml
Expand Up @@ -568,19 +568,29 @@ $defs:
- updated
properties:
id:
title: ID
readOnly: true
$ref: common.yaml#/$defs/uuid
name:
title: Name
$ref: common.yaml#/$defs/mojo_standard_placeholder
alias:
title: Alias
$ref: common.yaml#/$defs/mojo_standard_placeholder
generation_name:
title: Generation Name
type: [ 'null', string ]
sku:
title: SKU
$ref: common.yaml#/$defs/mojo_standard_placeholder
created:
title: Created
readOnly: true
type: string
format: date-time
updated:
title: Updated
readOnly: true
type: string
format: date-time
HardwareProduct:
Expand Down

0 comments on commit 56fecf5

Please sign in to comment.