Skip to content

Commit 2aeb3d3

Browse files
removed x-default and x-example in favor of using the schema object
1 parent a83538c commit 2aeb3d3

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

schemas/smartapi_schema.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -546,12 +546,6 @@
546546
"format": "url"
547547
},
548548
"uniqueItems": true
549-
},
550-
"x-defaultValue": {
551-
"type": "string"
552-
},
553-
"x-exampleValue": {
554-
"type": "string"
555549
}
556550
},
557551
"patternProperties": {

versions/3.0.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,8 +1136,8 @@ Field Name | Type | Description
11361136
---|:---:|---
11371137
<a name="parameterType"></a>x-parameterType | `uri` | **SHOULD** A concept URI to describe the type of parameter.
11381138
<a name="parameterValueType"></a>x-valueType | [`uri`] | **SHOULD** A list of URIs to define the types of accepted value types. These should be selected from a registry of value types such as identifiers.org. This attribute is different from
1139-
<a name="parameterDefaultValue"></a>x-defaultValue | `string` | Default value.
1140-
<a name="parameterExampleValue"></a>x-exampleValue | `string` | Example value.
1139+
<a name="parameterDefaultValue"></a> | | Use the Schema object to define a default value.
1140+
<a name="parameterExampleValue"></a> | | Use the Schema object to define an example.
11411141

11421142
##### Parameter Object Examples
11431143

0 commit comments

Comments
 (0)