@unispechq/unispec-schema 0.3.1 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +195 -166
- package/index.cjs +7 -7
- package/index.d.ts +9 -9
- package/index.mjs +9 -9
- package/package.json +8 -1
- package/schema/index.json +14 -14
- package/schema/types/common.schema.json +16 -16
- package/schema/types/graphql.schema.json +58 -58
- package/schema/types/rest.schema.json +167 -167
- package/schema/types/schemas.schema.json +25 -25
- package/schema/types/service.schema.json +39 -96
- package/schema/types/websocket.schema.json +89 -89
- package/schema/unispec-tests.schema.json +318 -318
- package/schema/unispec.schema.json +23 -23
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://unispec.dev/schema/unispec.schema.json",
|
|
4
|
-
"title": "UniSpec document",
|
|
5
|
-
"description": "Top-level UniSpec document describing a multi-protocol API service.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["unispecVersion", "service"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"unispecVersion": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "UniSpec format version (SemVer)."
|
|
12
|
-
},
|
|
13
|
-
"service": {
|
|
14
|
-
"$ref": "./types/service.schema.json#"
|
|
15
|
-
},
|
|
16
|
-
"extensions": {
|
|
17
|
-
"type": "object",
|
|
18
|
-
"description": "Custom vendor-specific extensions (x-*) at the document root.",
|
|
19
|
-
"additionalProperties": true
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"additionalProperties": false
|
|
23
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://unispec.dev/schema/unispec.schema.json",
|
|
4
|
+
"title": "UniSpec document",
|
|
5
|
+
"description": "Top-level UniSpec document describing a multi-protocol API service.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["unispecVersion", "service"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"unispecVersion": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "UniSpec format version (SemVer)."
|
|
12
|
+
},
|
|
13
|
+
"service": {
|
|
14
|
+
"$ref": "./types/service.schema.json#"
|
|
15
|
+
},
|
|
16
|
+
"extensions": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"description": "Custom vendor-specific extensions (x-*) at the document root.",
|
|
19
|
+
"additionalProperties": true
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"additionalProperties": false
|
|
23
|
+
}
|