@loopback/openapi-v3 8.0.5 → 8.0.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/dist/json-to-schema.d.ts +1 -1
- package/dist/types.d.ts +3 -3
- package/package.json +12 -12
package/dist/json-to-schema.d.ts
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Model } from '@loopback/repository';
|
|
2
2
|
import { OpenAPIObject, ReferenceObject, ResponseObject, SchemaObject } from 'openapi3-ts';
|
|
3
|
-
export
|
|
3
|
+
export type OpenApiSpec = OpenAPIObject;
|
|
4
4
|
export * from 'openapi3-ts';
|
|
5
5
|
export declare const DEFAULT_OPENAPI_SPEC_INFO: {
|
|
6
6
|
title: string;
|
|
@@ -19,11 +19,11 @@ export declare enum OperationVisibility {
|
|
|
19
19
|
DOCUMENTED = "documented",
|
|
20
20
|
UNDOCUMENTED = "undocumented"
|
|
21
21
|
}
|
|
22
|
-
export
|
|
22
|
+
export type ResponseModelOrSpec = typeof Model | SchemaObject | ResponseObject | ReferenceObject;
|
|
23
23
|
export interface ResponseDecoratorMetadataItem {
|
|
24
24
|
responseCode: number;
|
|
25
25
|
contentType: string;
|
|
26
26
|
responseModelOrSpec: ResponseModelOrSpec;
|
|
27
27
|
description: string;
|
|
28
28
|
}
|
|
29
|
-
export
|
|
29
|
+
export type ResponseDecoratorMetadata = ResponseDecoratorMetadataItem[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/openapi-v3",
|
|
3
3
|
"description": "Decorators that annotate LoopBack artifacts with OpenAPI v3 metadata and utilities that transform LoopBack metadata to OpenAPI v3 specifications",
|
|
4
|
-
"version": "8.0.
|
|
4
|
+
"version": "8.0.6",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Swagger",
|
|
7
7
|
"OpenAPI Spec",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"!*/__tests__"
|
|
40
40
|
],
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@loopback/core": "^4.0.
|
|
42
|
+
"@loopback/core": "^4.0.6"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@loopback/repository-json-schema": "^6.0
|
|
45
|
+
"@loopback/repository-json-schema": "^6.1.0",
|
|
46
46
|
"debug": "^4.3.4",
|
|
47
47
|
"http-status": "^1.5.3",
|
|
48
48
|
"json-merge-patch": "^1.0.2",
|
|
@@ -51,16 +51,16 @@
|
|
|
51
51
|
"tslib": "^2.4.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@loopback/build": "^9.0.
|
|
55
|
-
"@loopback/core": "^4.0.
|
|
56
|
-
"@loopback/eslint-config": "^13.0.
|
|
57
|
-
"@loopback/openapi-spec-builder": "^5.0.
|
|
58
|
-
"@loopback/repository": "^5.1.
|
|
59
|
-
"@loopback/testlab": "^5.0.
|
|
54
|
+
"@loopback/build": "^9.0.6",
|
|
55
|
+
"@loopback/core": "^4.0.6",
|
|
56
|
+
"@loopback/eslint-config": "^13.0.6",
|
|
57
|
+
"@loopback/openapi-spec-builder": "^5.0.6",
|
|
58
|
+
"@loopback/repository": "^5.1.1",
|
|
59
|
+
"@loopback/testlab": "^5.0.6",
|
|
60
60
|
"@types/debug": "^4.1.7",
|
|
61
61
|
"@types/json-merge-patch": "0.0.8",
|
|
62
|
-
"@types/lodash": "^4.14.
|
|
63
|
-
"@types/node": "^14.18.
|
|
62
|
+
"@types/lodash": "^4.14.191",
|
|
63
|
+
"@types/node": "^14.18.34"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "709a5ecd1ffddeb02262cecabf7b663c7b4d7e47"
|
|
66
66
|
}
|