Skip to content

Commit

Permalink
add description
Browse files Browse the repository at this point in the history
  • Loading branch information
alakendu committed Dec 19, 2024
1 parent 8ba17ff commit 59fc2e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ components:
vendor_options:
description: >-
This is a backdoor access to underlying OTG solution.
OTG has a provision to specify vendor specific options with value.
This will allow to access Vendor specific option type with it respective value.
e,g OTG underlying solution is deviating xyz feature. Then option type='feature' and value=`xyz`
type: array
items:
$ref: '../device/device.yaml#/components/schemas/Vendor.Options'
Expand Down
5 changes: 1 addition & 4 deletions device/device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ components:
default: true
x-field-uid: 1
Vendor.Options:
description: >-
Vendor specific option with it respective value.
e,g OTG underlying solution is deviating xyz feature. Then option type='feature' and value=`xyz`
type: object
required: [type, value]
properties:
Expand All @@ -112,7 +109,7 @@ components:
x-field-uid: 2
names:
description: >-
Names of the vendor. key and value will applicable for all vendor if this field is not defined.
Names of the vendor. Option type and value will applicable for all vendor if this field is not defined.
type: array
items:
type: string
Expand Down

0 comments on commit 59fc2e3

Please sign in to comment.