@tsed/openspec 8.0.0-alpha.5 → 8.0.0-alpha.6
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/package.json +5 -6
- package/lib/cjs/common/OpenSpecExternalDocs.js +0 -3
- package/lib/cjs/common/OpenSpecExternalDocs.js.map +0 -1
- package/lib/cjs/common/OpenSpecHash.js +0 -3
- package/lib/cjs/common/OpenSpecHash.js.map +0 -1
- package/lib/cjs/common/OpenSpecInfo.js +0 -3
- package/lib/cjs/common/OpenSpecInfo.js.map +0 -1
- package/lib/cjs/common/OpenSpecJsonSchema.js +0 -3
- package/lib/cjs/common/OpenSpecJsonSchema.js.map +0 -1
- package/lib/cjs/common/OpenSpecPath.js +0 -3
- package/lib/cjs/common/OpenSpecPath.js.map +0 -1
- package/lib/cjs/common/OpenSpecRef.js +0 -3
- package/lib/cjs/common/OpenSpecRef.js.map +0 -1
- package/lib/cjs/common/OpenSpecSecurity.js +0 -3
- package/lib/cjs/common/OpenSpecSecurity.js.map +0 -1
- package/lib/cjs/common/OpenSpecTag.js +0 -3
- package/lib/cjs/common/OpenSpecTag.js.map +0 -1
- package/lib/cjs/common/OpenSpecTypes.js +0 -3
- package/lib/cjs/common/OpenSpecTypes.js.map +0 -1
- package/lib/cjs/common/OpenSpecVersions.js +0 -3
- package/lib/cjs/common/OpenSpecVersions.js.map +0 -1
- package/lib/cjs/common/OpenSpecXML.js +0 -3
- package/lib/cjs/common/OpenSpecXML.js.map +0 -1
- package/lib/cjs/index.js +0 -43
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/openspec2/OS2Header.js +0 -3
- package/lib/cjs/openspec2/OS2Header.js.map +0 -1
- package/lib/cjs/openspec2/OS2Operation.js +0 -3
- package/lib/cjs/openspec2/OS2Operation.js.map +0 -1
- package/lib/cjs/openspec2/OS2Parameter.js +0 -3
- package/lib/cjs/openspec2/OS2Parameter.js.map +0 -1
- package/lib/cjs/openspec2/OS2Paths.js +0 -3
- package/lib/cjs/openspec2/OS2Paths.js.map +0 -1
- package/lib/cjs/openspec2/OS2Response.js +0 -3
- package/lib/cjs/openspec2/OS2Response.js.map +0 -1
- package/lib/cjs/openspec2/OS2Schema.js +0 -3
- package/lib/cjs/openspec2/OS2Schema.js.map +0 -1
- package/lib/cjs/openspec2/OS2Security.js +0 -3
- package/lib/cjs/openspec2/OS2Security.js.map +0 -1
- package/lib/cjs/openspec2/OpenSpec2.js +0 -3
- package/lib/cjs/openspec2/OpenSpec2.js.map +0 -1
- package/lib/cjs/openspec3/OS3Callbacks.js +0 -3
- package/lib/cjs/openspec3/OS3Callbacks.js.map +0 -1
- package/lib/cjs/openspec3/OS3Components.js +0 -3
- package/lib/cjs/openspec3/OS3Components.js.map +0 -1
- package/lib/cjs/openspec3/OS3Encoding.js +0 -3
- package/lib/cjs/openspec3/OS3Encoding.js.map +0 -1
- package/lib/cjs/openspec3/OS3Example.js +0 -3
- package/lib/cjs/openspec3/OS3Example.js.map +0 -1
- package/lib/cjs/openspec3/OS3Flows.js +0 -3
- package/lib/cjs/openspec3/OS3Flows.js.map +0 -1
- package/lib/cjs/openspec3/OS3Header.js +0 -3
- package/lib/cjs/openspec3/OS3Header.js.map +0 -1
- package/lib/cjs/openspec3/OS3Link.js +0 -3
- package/lib/cjs/openspec3/OS3Link.js.map +0 -1
- package/lib/cjs/openspec3/OS3MediaType.js +0 -3
- package/lib/cjs/openspec3/OS3MediaType.js.map +0 -1
- package/lib/cjs/openspec3/OS3Operation.js +0 -3
- package/lib/cjs/openspec3/OS3Operation.js.map +0 -1
- package/lib/cjs/openspec3/OS3Parameter.js +0 -3
- package/lib/cjs/openspec3/OS3Parameter.js.map +0 -1
- package/lib/cjs/openspec3/OS3Paths.js +0 -3
- package/lib/cjs/openspec3/OS3Paths.js.map +0 -1
- package/lib/cjs/openspec3/OS3RequestBody.js +0 -3
- package/lib/cjs/openspec3/OS3RequestBody.js.map +0 -1
- package/lib/cjs/openspec3/OS3Response.js +0 -3
- package/lib/cjs/openspec3/OS3Response.js.map +0 -1
- package/lib/cjs/openspec3/OS3Schema.js +0 -3
- package/lib/cjs/openspec3/OS3Schema.js.map +0 -1
- package/lib/cjs/openspec3/OS3Security.js +0 -3
- package/lib/cjs/openspec3/OS3Security.js.map +0 -1
- package/lib/cjs/openspec3/OS3Server.js +0 -3
- package/lib/cjs/openspec3/OS3Server.js.map +0 -1
- package/lib/cjs/openspec3/OpenSpec3.js +0 -3
- package/lib/cjs/openspec3/OpenSpec3.js.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/esm/package.json +0 -3
- package/lib/types-esm/common/OpenSpecExternalDocs.d.ts +0 -10
- package/lib/types-esm/common/OpenSpecHash.d.ts +0 -1
- package/lib/types-esm/common/OpenSpecInfo.d.ts +0 -50
- package/lib/types-esm/common/OpenSpecJsonSchema.d.ts +0 -151
- package/lib/types-esm/common/OpenSpecPath.d.ts +0 -10
- package/lib/types-esm/common/OpenSpecRef.d.ts +0 -3
- package/lib/types-esm/common/OpenSpecSecurity.d.ts +0 -2
- package/lib/types-esm/common/OpenSpecTag.d.ts +0 -6
- package/lib/types-esm/common/OpenSpecTypes.d.ts +0 -1
- package/lib/types-esm/common/OpenSpecVersions.d.ts +0 -3
- package/lib/types-esm/common/OpenSpecXML.d.ts +0 -22
- package/lib/types-esm/index.d.ts +0 -39
- package/lib/types-esm/openspec2/OS2Header.d.ts +0 -7
- package/lib/types-esm/openspec2/OS2Operation.d.ts +0 -64
- package/lib/types-esm/openspec2/OS2Parameter.d.ts +0 -50
- package/lib/types-esm/openspec2/OS2Paths.d.ts +0 -7
- package/lib/types-esm/openspec2/OS2Response.d.ts +0 -21
- package/lib/types-esm/openspec2/OS2Schema.d.ts +0 -36
- package/lib/types-esm/openspec2/OS2Security.d.ts +0 -49
- package/lib/types-esm/openspec2/OpenSpec2.d.ts +0 -72
- package/lib/types-esm/openspec3/OS3Callbacks.d.ts +0 -4
- package/lib/types-esm/openspec3/OS3Components.d.ts +0 -48
- package/lib/types-esm/openspec3/OS3Encoding.d.ts +0 -24
- package/lib/types-esm/openspec3/OS3Example.d.ts +0 -19
- package/lib/types-esm/openspec3/OS3Flows.d.ts +0 -46
- package/lib/types-esm/openspec3/OS3Header.d.ts +0 -17
- package/lib/types-esm/openspec3/OS3Link.d.ts +0 -24
- package/lib/types-esm/openspec3/OS3MediaType.d.ts +0 -23
- package/lib/types-esm/openspec3/OS3Operation.d.ts +0 -69
- package/lib/types-esm/openspec3/OS3Parameter.d.ts +0 -81
- package/lib/types-esm/openspec3/OS3Paths.d.ts +0 -28
- package/lib/types-esm/openspec3/OS3RequestBody.d.ts +0 -20
- package/lib/types-esm/openspec3/OS3Response.d.ts +0 -24
- package/lib/types-esm/openspec3/OS3Schema.d.ts +0 -49
- package/lib/types-esm/openspec3/OS3Security.d.ts +0 -57
- package/lib/types-esm/openspec3/OS3Server.d.ts +0 -29
- package/lib/types-esm/openspec3/OpenSpec3.d.ts +0 -43
package/package.json
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/openspec",
|
|
3
3
|
"description": "OpenSpec2 and OpenSpec3 interfaces declarations for TypeScript application",
|
|
4
|
-
"type": "
|
|
5
|
-
"version": "8.0.0-alpha.
|
|
4
|
+
"type": "module",
|
|
5
|
+
"version": "8.0.0-alpha.6",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
|
-
"main": "./lib/
|
|
7
|
+
"main": "./lib/esm/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
9
9
|
"typings": "./lib/types/index.d.ts",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
12
|
"types": "./lib/types/index.d.ts",
|
|
13
13
|
"import": "./lib/esm/index.js",
|
|
14
|
-
"require": "./lib/cjs/index.js",
|
|
15
14
|
"default": "./lib/cjs/index.js"
|
|
16
15
|
}
|
|
17
16
|
},
|
|
@@ -31,8 +30,8 @@
|
|
|
31
30
|
"JsonSchema"
|
|
32
31
|
],
|
|
33
32
|
"devDependencies": {
|
|
34
|
-
"@tsed/barrels": "8.0.0-alpha.
|
|
35
|
-
"@tsed/typescript": "8.0.0-alpha.
|
|
33
|
+
"@tsed/barrels": "8.0.0-alpha.6",
|
|
34
|
+
"@tsed/typescript": "8.0.0-alpha.6",
|
|
36
35
|
"eslint": "^8.57.0",
|
|
37
36
|
"typescript": "4.9.5"
|
|
38
37
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSpecExternalDocs.js","sourceRoot":"","sources":["../../../src/common/OpenSpecExternalDocs.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSpecHash.js","sourceRoot":"","sources":["../../../src/common/OpenSpecHash.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSpecInfo.js","sourceRoot":"","sources":["../../../src/common/OpenSpecInfo.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSpecJsonSchema.js","sourceRoot":"","sources":["../../../src/common/OpenSpecJsonSchema.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSpecPath.js","sourceRoot":"","sources":["../../../src/common/OpenSpecPath.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSpecRef.js","sourceRoot":"","sources":["../../../src/common/OpenSpecRef.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSpecSecurity.js","sourceRoot":"","sources":["../../../src/common/OpenSpecSecurity.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSpecTag.js","sourceRoot":"","sources":["../../../src/common/OpenSpecTag.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSpecTypes.js","sourceRoot":"","sources":["../../../src/common/OpenSpecTypes.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSpecVersions.js","sourceRoot":"","sources":["../../../src/common/OpenSpecVersions.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSpecXML.js","sourceRoot":"","sources":["../../../src/common/OpenSpecXML.ts"],"names":[],"mappings":""}
|
package/lib/cjs/index.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
/**
|
|
5
|
-
* @file Automatically generated by @tsed/barrels.
|
|
6
|
-
*/
|
|
7
|
-
tslib_1.__exportStar(require("./common/OpenSpecExternalDocs.js"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./common/OpenSpecHash.js"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./common/OpenSpecInfo.js"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./common/OpenSpecJsonSchema.js"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./common/OpenSpecPath.js"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./common/OpenSpecRef.js"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./common/OpenSpecSecurity.js"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./common/OpenSpecTag.js"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./common/OpenSpecTypes.js"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./common/OpenSpecVersions.js"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./common/OpenSpecXML.js"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./openspec2/OpenSpec2.js"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./openspec2/OS2Header.js"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./openspec2/OS2Operation.js"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./openspec2/OS2Parameter.js"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./openspec2/OS2Paths.js"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./openspec2/OS2Response.js"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./openspec2/OS2Schema.js"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./openspec2/OS2Security.js"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./openspec3/OpenSpec3.js"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./openspec3/OS3Callbacks.js"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./openspec3/OS3Components.js"), exports);
|
|
29
|
-
tslib_1.__exportStar(require("./openspec3/OS3Encoding.js"), exports);
|
|
30
|
-
tslib_1.__exportStar(require("./openspec3/OS3Example.js"), exports);
|
|
31
|
-
tslib_1.__exportStar(require("./openspec3/OS3Flows.js"), exports);
|
|
32
|
-
tslib_1.__exportStar(require("./openspec3/OS3Header.js"), exports);
|
|
33
|
-
tslib_1.__exportStar(require("./openspec3/OS3Link.js"), exports);
|
|
34
|
-
tslib_1.__exportStar(require("./openspec3/OS3MediaType.js"), exports);
|
|
35
|
-
tslib_1.__exportStar(require("./openspec3/OS3Operation.js"), exports);
|
|
36
|
-
tslib_1.__exportStar(require("./openspec3/OS3Parameter.js"), exports);
|
|
37
|
-
tslib_1.__exportStar(require("./openspec3/OS3Paths.js"), exports);
|
|
38
|
-
tslib_1.__exportStar(require("./openspec3/OS3RequestBody.js"), exports);
|
|
39
|
-
tslib_1.__exportStar(require("./openspec3/OS3Response.js"), exports);
|
|
40
|
-
tslib_1.__exportStar(require("./openspec3/OS3Schema.js"), exports);
|
|
41
|
-
tslib_1.__exportStar(require("./openspec3/OS3Security.js"), exports);
|
|
42
|
-
tslib_1.__exportStar(require("./openspec3/OS3Server.js"), exports);
|
|
43
|
-
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,2EAAiD;AACjD,mEAAyC;AACzC,mEAAyC;AACzC,yEAA+C;AAC/C,mEAAyC;AACzC,kEAAwC;AACxC,uEAA6C;AAC7C,kEAAwC;AACxC,oEAA0C;AAC1C,uEAA6C;AAC7C,kEAAwC;AACxC,mEAAyC;AACzC,mEAAyC;AACzC,sEAA4C;AAC5C,sEAA4C;AAC5C,kEAAwC;AACxC,qEAA2C;AAC3C,mEAAyC;AACzC,qEAA2C;AAC3C,mEAAyC;AACzC,sEAA4C;AAC5C,uEAA6C;AAC7C,qEAA2C;AAC3C,oEAA0C;AAC1C,kEAAwC;AACxC,mEAAyC;AACzC,iEAAuC;AACvC,sEAA4C;AAC5C,sEAA4C;AAC5C,sEAA4C;AAC5C,kEAAwC;AACxC,wEAA8C;AAC9C,qEAA2C;AAC3C,mEAAyC;AACzC,qEAA2C;AAC3C,mEAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS2Header.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Header.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS2Operation.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Operation.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS2Parameter.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Parameter.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS2Paths.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Paths.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS2Response.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Response.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS2Schema.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Schema.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS2Security.js","sourceRoot":"","sources":["../../../src/openspec2/OS2Security.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSpec2.js","sourceRoot":"","sources":["../../../src/openspec2/OpenSpec2.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Callbacks.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Callbacks.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Components.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Components.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Encoding.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Encoding.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Example.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Example.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Flows.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Flows.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Header.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Header.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Link.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Link.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3MediaType.js","sourceRoot":"","sources":["../../../src/openspec3/OS3MediaType.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Operation.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Operation.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Parameter.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Parameter.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Paths.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Paths.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3RequestBody.js","sourceRoot":"","sources":["../../../src/openspec3/OS3RequestBody.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Response.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Response.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Schema.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Schema.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Security.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Security.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OS3Server.js","sourceRoot":"","sources":["../../../src/openspec3/OS3Server.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSpec3.js","sourceRoot":"","sources":["../../../src/openspec3/OpenSpec3.ts"],"names":[],"mappings":""}
|
package/lib/cjs/package.json
DELETED
package/lib/esm/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface OpenSpecExternalDocs {
|
|
2
|
-
/**
|
|
3
|
-
* The URL for the target documentation. Value MUST be in the format of a URL.
|
|
4
|
-
*/
|
|
5
|
-
url: string;
|
|
6
|
-
/**
|
|
7
|
-
* A short description of the target documentation. [CommonMark syntax](http://spec.commonmark.org/) MAY be used for rich text representation.
|
|
8
|
-
*/
|
|
9
|
-
description?: string;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type OpenSpecHash<T> = Record<string, T>;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export interface OpenSpecContact {
|
|
2
|
-
/**
|
|
3
|
-
* The identifying name of the contact person/organization.
|
|
4
|
-
*/
|
|
5
|
-
name?: string;
|
|
6
|
-
/**
|
|
7
|
-
* The email address of the contact person/organization. MUST be in the format of an email address.
|
|
8
|
-
*/
|
|
9
|
-
email?: string;
|
|
10
|
-
/**
|
|
11
|
-
* The URL pointing to the contact information. MUST be in the format of a URL.
|
|
12
|
-
*/
|
|
13
|
-
url?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface OpenSpecLicense {
|
|
16
|
-
/**
|
|
17
|
-
* The license name used for the API.
|
|
18
|
-
*/
|
|
19
|
-
name: string;
|
|
20
|
-
/**
|
|
21
|
-
* A URL to the license used for the API. MUST be in the format of a URL.
|
|
22
|
-
*/
|
|
23
|
-
url?: string;
|
|
24
|
-
}
|
|
25
|
-
export interface OpenSpecInfo {
|
|
26
|
-
/**
|
|
27
|
-
* The title of the application.
|
|
28
|
-
*/
|
|
29
|
-
title: string;
|
|
30
|
-
/**
|
|
31
|
-
* The version of the OpenAPI document (which is distinct from the [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#oasVersion) version or the API implementation version).
|
|
32
|
-
*/
|
|
33
|
-
version: string;
|
|
34
|
-
/**
|
|
35
|
-
* A short description of the application. [CommonMark syntax](http://spec.commonmark.org/) MAY be used for rich text representation.
|
|
36
|
-
*/
|
|
37
|
-
description?: string;
|
|
38
|
-
/**
|
|
39
|
-
* A URL to the Terms of Service for the API. MUST be in the format of a URL.
|
|
40
|
-
*/
|
|
41
|
-
termsOfService?: string;
|
|
42
|
-
/**
|
|
43
|
-
* The contact information for the exposed API.
|
|
44
|
-
*/
|
|
45
|
-
contact?: OpenSpecContact;
|
|
46
|
-
/**
|
|
47
|
-
* The license information for the exposed API.
|
|
48
|
-
*/
|
|
49
|
-
license?: OpenSpecLicense;
|
|
50
|
-
}
|