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

Commit

Permalink
"validation_plan_id" property will be removed from validation results…
Browse files Browse the repository at this point in the history
… in v3.1

in endpoints:
- POST /device_report
- POST /device/:id_or_serial_number/validation_plan/:validation_plan_id
- POST /device/:id_or_serial_number/validation/:validation_id
- GET /device/:id_or_serial_number/validation_state

It is redundant information as all the validation_ids are included with the
individual results.
  • Loading branch information
karenetheridge committed Nov 2, 2020
1 parent 7cf1f50 commit 3eba9b7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
16 changes: 14 additions & 2 deletions docs/json-schema/response.json
Expand Up @@ -2575,7 +2575,13 @@
"$ref" : "common.json#/definitions/validation_status"
},
"validation_plan_id" : {
"$ref" : "common.json#/definitions/uuid"
"$comment" : "this property will be removed in v3.1",
"allOf" : [
{
"$ref" : "common.json#/definitions/uuid"
}
],
"deprecated" : true
}
},
"required" : [
Expand Down Expand Up @@ -3073,7 +3079,13 @@
"$ref" : "common.json#/definitions/validation_status"
},
"validation_plan_id" : {
"$ref" : "common.json#/definitions/uuid"
"$comment" : "this property will be removed in v3.1",
"allOf" : [
{
"$ref" : "common.json#/definitions/uuid"
}
],
"deprecated" : true
}
},
"required" : [
Expand Down
10 changes: 8 additions & 2 deletions json-schema/response.yaml
Expand Up @@ -1062,7 +1062,10 @@ definitions:
status:
$ref: common.yaml#/definitions/validation_status
validation_plan_id:
$ref: common.yaml#/definitions/uuid
$comment: this property will be removed in v3.1
deprecated: true
allOf:
- $ref: common.yaml#/definitions/uuid
hardware_product_id:
$ref: common.yaml#/definitions/uuid
device_report_id:
Expand All @@ -1081,7 +1084,10 @@ definitions:
device_serial_number:
$ref: common.yaml#/definitions/device_serial_number
validation_plan_id:
$ref: common.yaml#/definitions/uuid
$comment: this property will be removed in v3.1
deprecated: true
allOf:
- $ref: common.yaml#/definitions/uuid
hardware_product_id:
$ref: common.yaml#/definitions/uuid
sku:
Expand Down

0 comments on commit 3eba9b7

Please sign in to comment.