Skip to content

Commit 439d8df

Browse files
fixed missing specificationExtension reference
1 parent 37f7113 commit 439d8df

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

schemas/smartapi_schema.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"title": "The smartAPI extension to OpenAPI 3.0.",
3-
"id": "http://smart-api.info/schema/smartapi-oas3.0.0.json#",
3+
"id": "https://raw.githubusercontent.com/SmartAPI/smartAPI-Specification/OpenAPI.next/schemas/smartapi_schema.json#",
44
"$schema": "http://json-schema.org/draft-06/schema#",
55
"type": "object",
66
"description": "This is the root document object of the smartAPI definition file.",
@@ -159,6 +159,28 @@
159159
"type": "string",
160160
"description": "The name of the tag. Recommend that you use URI to specify the concept."
161161
}
162+
},
163+
"specificationExtension": {
164+
"description": "Any property starting with x- is valid.",
165+
"oneOf": [{
166+
"type": "null"
167+
},
168+
{
169+
"type": "number"
170+
},
171+
{
172+
"type": "boolean"
173+
},
174+
{
175+
"type": "string"
176+
},
177+
{
178+
"type": "object"
179+
},
180+
{
181+
"type": "array"
182+
}
183+
]
162184
}
163185
},
164186
"schema": {

0 commit comments

Comments
 (0)