Adds new property "deprecated" to Metadata schema. (#2794)
Signed-off-by: Tiago Alves Macambira <tmacam@burocrata.org>
This commit is contained in:
parent
e9af969b48
commit
54c176610f
|
@ -99,6 +99,8 @@ type Metadata struct {
|
|||
Binding *MetadataBinding `json:"binding,omitempty"`
|
||||
// URL with additional information, such as docs.
|
||||
URL *URL `json:"url,omitempty"`
|
||||
// If set, specifies that the property is deprecated and should not be used in new configurations.
|
||||
Deprecated bool `json:"deprecated,omitempty"`
|
||||
}
|
||||
|
||||
// MetadataBinding is the type for the "binding" property in the "metadata" object.
|
||||
|
|
|
@ -143,6 +143,10 @@
|
|||
"url": {
|
||||
"$ref": "#/$defs/URL",
|
||||
"description": "URL with additional information, such as docs."
|
||||
},
|
||||
"deprecated": {
|
||||
"type": "boolean",
|
||||
"description": "If set, specifies that the property is deprecated and should not be used in new configurations."
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
|
Loading…
Reference in New Issue