openapi-jsonrpc-jsdoc 1.1.0 → 1.1.1

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -154,7 +154,7 @@ async function openapiJsonrpcJsdoc({ files, securitySchemes = {}, packageUrl, se
154
154
  {
155
155
  title: 'Parameters',
156
156
  type: 'object',
157
- 'default': module.examples.length ? JSON.parse(module.examples[0]) : null,
157
+ 'default': module.examples?.length ? JSON.parse(module.examples[0]) : null,
158
158
  required: ['method', 'id', 'jsonrpc'],
159
159
  properties: {},
160
160
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openapi-jsonrpc-jsdoc",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "OpenAPI generator",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "ava": "~3.15.0",
35
- "express": "~4.18.2",
36
- "express-openapi-validator": "~5.0.4"
35
+ "express": "~5.1.0",
36
+ "express-openapi-validator": "~5.5.3"
37
37
  },
38
38
  "engines": {
39
39
  "node": ">= 14"