@loopback/openapi-v3 9.1.1 → 9.1.2

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.
@@ -74,7 +74,7 @@ export declare namespace requestBody {
74
74
  * export class MyController {
75
75
  * @post('/greet')
76
76
  * greet(@requestBody.array(
77
- * {schema: {type: 'string'}},
77
+ * {type: 'string'},
78
78
  * {description: 'an array of names', required: false}
79
79
  * ) names: string[]): string {
80
80
  * return `Hello, ${names}`;
@@ -118,7 +118,7 @@ exports.requestBody = requestBody;
118
118
  * export class MyController {
119
119
  * @post('/greet')
120
120
  * greet(@requestBody.array(
121
- * {schema: {type: 'string'}},
121
+ * {type: 'string'},
122
122
  * {description: 'an array of names', required: false}
123
123
  * ) names: string[]): string {
124
124
  * return `Hello, ${names}`;
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": "9.1.1",
4
+ "version": "9.1.2",
5
5
  "keywords": [
6
6
  "Swagger",
7
7
  "OpenAPI Spec",
@@ -42,25 +42,25 @@
42
42
  "@loopback/core": "^5.0.0"
43
43
  },
44
44
  "dependencies": {
45
- "@loopback/repository-json-schema": "^7.1.1",
45
+ "@loopback/repository-json-schema": "^7.1.2",
46
46
  "debug": "^4.3.4",
47
47
  "http-status": "^1.6.2",
48
48
  "json-merge-patch": "^1.0.2",
49
49
  "lodash": "^4.17.21",
50
50
  "openapi3-ts": "^2.0.2",
51
- "tslib": "^2.6.0"
51
+ "tslib": "^2.6.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@loopback/build": "^10.1.1",
55
- "@loopback/core": "^5.1.1",
56
- "@loopback/eslint-config": "^14.0.2",
57
- "@loopback/openapi-spec-builder": "^6.1.1",
58
- "@loopback/repository": "^6.1.1",
59
- "@loopback/testlab": "^6.1.1",
54
+ "@loopback/build": "^10.1.2",
55
+ "@loopback/core": "^5.1.2",
56
+ "@loopback/eslint-config": "^14.0.3",
57
+ "@loopback/openapi-spec-builder": "^6.1.2",
58
+ "@loopback/repository": "^6.1.2",
59
+ "@loopback/testlab": "^6.1.2",
60
60
  "@types/debug": "^4.1.8",
61
61
  "@types/json-merge-patch": "0.0.8",
62
- "@types/lodash": "^4.14.195",
63
- "@types/node": "^16.18.38"
62
+ "@types/lodash": "^4.14.197",
63
+ "@types/node": "^16.18.40"
64
64
  },
65
- "gitHead": "be0c53e30bbe9edf7753c4fcd7ab3199f7cd3b8c"
65
+ "gitHead": "0e9d6114999bd4d53969071e49bec5f6680ae9ad"
66
66
  }
@@ -127,7 +127,7 @@ export namespace requestBody {
127
127
  * export class MyController {
128
128
  * @post('/greet')
129
129
  * greet(@requestBody.array(
130
- * {schema: {type: 'string'}},
130
+ * {type: 'string'},
131
131
  * {description: 'an array of names', required: false}
132
132
  * ) names: string[]): string {
133
133
  * return `Hello, ${names}`;