doc-detective-common 3.0.4-dev.1 → 3.0.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.
@@ -1,11 +1,17 @@
1
- name: Run tests
1
+ name: Test (& Publish)
2
2
 
3
3
  on:
4
4
  push:
5
5
  branches:
6
6
  - main
7
7
  pull_request:
8
- types: [opened, reopened, synchronize]
8
+ types:
9
+ - opened
10
+ - reopened
11
+ - synchronize
12
+ release:
13
+ types:
14
+ - published
9
15
  workflow_dispatch:
10
16
 
11
17
  jobs:
@@ -13,7 +19,7 @@ jobs:
13
19
  runs-on: ${{ matrix.os }}
14
20
  strategy:
15
21
  matrix:
16
- os:
22
+ os:
17
23
  - ubuntu-latest
18
24
  - windows-latest
19
25
  - macos-latest
@@ -21,11 +27,55 @@ jobs:
21
27
  - 18
22
28
  - 20
23
29
  - 22
24
-
30
+ - 24
31
+
25
32
  steps:
26
33
  - uses: actions/checkout@v4
27
34
  - uses: actions/setup-node@v4
28
35
  with:
36
+ cache: 'npm'
37
+ cache-dependency-path: package-lock.json
29
38
  node-version: ${{ matrix.node }}
30
39
  - run: npm ci
31
- - run: npm test
40
+ - run: npm run build # Automatically run tests because of the `postbuild` script in package.json
41
+
42
+ publish-npm:
43
+ # if: github.event_name == 'release' && github.event.action == 'published'
44
+ name: Publish to NPM
45
+ needs: test
46
+ runs-on: ubuntu-latest
47
+ steps:
48
+ - uses: actions/checkout@v4
49
+ - uses: actions/setup-node@v4
50
+ with:
51
+ cache: 'npm'
52
+ cache-dependency-path: package-lock.json
53
+ registry-url: https://registry.npmjs.org/
54
+ - run: echo "NODE_AUTH_TOKEN is set"
55
+ env:
56
+ NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
57
+ - run: npm whoami
58
+ env:
59
+ NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
60
+ - run: npm ci
61
+ - run: npm run build
62
+ - run: npm publish
63
+ env:
64
+ NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
65
+
66
+ update-docs:
67
+ name: Update documentation
68
+ needs: publish-npm
69
+ runs-on: ubuntu-latest
70
+ steps:
71
+ - uses: actions/checkout@v4
72
+
73
+ - name: Get package version
74
+ run: echo "VERSION=$(jq -r '.version' package.json)" >> $GITHUB_ENV
75
+
76
+ - name: Trigger GitHub Action in doc-detective.github.io
77
+ run: |
78
+ curl -XPOST -H "Authorization: token ${{ secrets.DOCS_PERSONAL_ACCESS_TOKEN }}" \
79
+ -H "Accept: application/vnd.github.everest-preview+json" \
80
+ "https://api.github.com/repos/doc-detective/doc-detective.github.io/dispatches" \
81
+ -d '{"event_type": "update-common-package-event", "client_payload": {"version": "${{ env.VERSION }}"} }'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doc-detective-common",
3
- "version": "3.0.4-dev.1",
3
+ "version": "3.0.4",
4
4
  "description": "Shared components for Doc Detective projects.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -21,7 +21,7 @@
21
21
  "homepage": "https://github.com/doc-detective/doc-detective-common#readme",
22
22
  "devDependencies": {
23
23
  "chai": "^5.2.0",
24
- "mocha": "^11.2.2",
24
+ "mocha": "^11.4.0",
25
25
  "sinon": "^20.0.0"
26
26
  },
27
27
  "dependencies": {
@@ -32,6 +32,6 @@
32
32
  "ajv-keywords": "^5.1.0",
33
33
  "axios": "^1.9.0",
34
34
  "uuid": "^11.1.0",
35
- "yaml": "^2.7.1"
35
+ "yaml": "^2.8.0"
36
36
  }
37
37
  }
@@ -67,30 +67,49 @@ async function dereferenceSchemas() {
67
67
  for (const file of files) {
68
68
  // console.log(`File: ${file}`)
69
69
  const filePath = path.resolve(`${inputDir}/${file}`);
70
- // Load from file
71
- let schema = fs.readFileSync(filePath).toString();
72
- // Convert to JSON
73
- schema = JSON.parse(schema);
74
- // Set ID
75
- schema.$id = `${filePath}`;
76
- // Update references to current relative path
77
- schema = updateRefPaths(schema);
78
- // Write to file
79
- fs.writeFileSync(`${buildDir}/${file}`, JSON.stringify(schema, null, 2));
70
+ const buildFilePath = path.resolve(`${buildDir}/${file}`);
71
+ try {
72
+ // Check if file exists
73
+ if (!fs.existsSync(filePath)) {
74
+ throw new Error(`File not found: ${filePath}`);
75
+ }
76
+ // Load schema
77
+ let schema = fs.readFileSync(filePath).toString();
78
+ schema = JSON.parse(schema);
79
+
80
+ // Update references to current relative path
81
+ schema.$id = `${filePath}`;
82
+ schema = updateRefPaths(schema);
83
+
84
+ // Write to build directory
85
+ fs.writeFileSync(buildFilePath, JSON.stringify(schema, null, 2));
86
+ } catch (err) {
87
+ console.error(`Error processing ${file}:`, err);
88
+ }
80
89
  }
81
90
  // Dereference schemas
82
91
  for await (const file of files) {
83
92
  const filePath = path.resolve(`${buildDir}/${file}`);
84
- // Load from file
85
- let schema = fs.readFileSync(filePath).toString();
86
- // Convert to JSON
87
- schema = JSON.parse(schema);
88
- // Dereference schema
89
- schema = await parser.dereference(schema);
90
- // Delete $id attributes
91
- schema = deleteDollarIds(schema);
92
- // Write to file
93
- fs.writeFileSync(`${outputDir}/${file}`, JSON.stringify(schema, null, 2));
93
+ const outputFilePath = path.resolve(`${outputDir}/${file}`);
94
+ try {
95
+ // Check if file exists
96
+ if (!fs.existsSync(filePath))
97
+ throw new Error(`File not found: ${filePath}`);
98
+
99
+ // Load schema
100
+ let schema = fs.readFileSync(filePath).toString();
101
+ schema = JSON.parse(schema);
102
+
103
+ // Dereference schema
104
+ schema = await parser.dereference(schema);
105
+ // Delete $id attributes
106
+ schema = deleteDollarIds(schema);
107
+
108
+ // Write to file
109
+ fs.writeFileSync(outputFilePath, JSON.stringify(schema, null, 2));
110
+ } catch (err) {
111
+ console.error(`Error processing ${file}:`, err);
112
+ }
94
113
  }
95
114
  // Build final schemas.json file
96
115
  const schemas = {};
@@ -2196,6 +2196,12 @@
2196
2196
  "type": "string",
2197
2197
  "description": "URL or local path to the OpenAPI description."
2198
2198
  },
2199
+ "definition": {
2200
+ "type": "object",
2201
+ "readOnly": true,
2202
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
2203
+ "additionalProperties": true
2204
+ },
2199
2205
  "operationId": {
2200
2206
  "type": "string",
2201
2207
  "description": "ID of the operation to use for the request."
@@ -2550,6 +2556,12 @@
2550
2556
  "type": "string",
2551
2557
  "description": "URL or local path to the OpenAPI description."
2552
2558
  },
2559
+ "definition": {
2560
+ "type": "object",
2561
+ "readOnly": true,
2562
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
2563
+ "additionalProperties": true
2564
+ },
2553
2565
  "operationId": {
2554
2566
  "type": "string",
2555
2567
  "description": "ID of the operation to use for the request."
@@ -5138,6 +5150,12 @@
5138
5150
  "type": "string",
5139
5151
  "description": "URL or local path to the OpenAPI description."
5140
5152
  },
5153
+ "definition": {
5154
+ "type": "object",
5155
+ "readOnly": true,
5156
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
5157
+ "additionalProperties": true
5158
+ },
5141
5159
  "operationId": {
5142
5160
  "type": "string",
5143
5161
  "description": "ID of the operation to use for the request."
@@ -5306,7 +5324,7 @@
5306
5324
  "environment": {
5307
5325
  "type": "object",
5308
5326
  "description": "Environment information for the system running Doc Detective.",
5309
- "readmeOnly": true,
5327
+ "readOnly": true,
5310
5328
  "additionalProperties": false,
5311
5329
  "required": [
5312
5330
  "platform"
@@ -5343,7 +5361,7 @@
5343
5361
  "environment": {
5344
5362
  "type": "object",
5345
5363
  "description": "Environment information for the system running Doc Detective.",
5346
- "readmeOnly": true,
5364
+ "readOnly": true,
5347
5365
  "additionalProperties": false,
5348
5366
  "required": [
5349
5367
  "platform"
@@ -6913,6 +6931,12 @@
6913
6931
  "type": "string",
6914
6932
  "description": "URL or local path to the OpenAPI description."
6915
6933
  },
6934
+ "definition": {
6935
+ "type": "object",
6936
+ "readOnly": true,
6937
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
6938
+ "additionalProperties": true
6939
+ },
6916
6940
  "operationId": {
6917
6941
  "type": "string",
6918
6942
  "description": "ID of the operation to use for the request."
@@ -7267,6 +7291,12 @@
7267
7291
  "type": "string",
7268
7292
  "description": "URL or local path to the OpenAPI description."
7269
7293
  },
7294
+ "definition": {
7295
+ "type": "object",
7296
+ "readOnly": true,
7297
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
7298
+ "additionalProperties": true
7299
+ },
7270
7300
  "operationId": {
7271
7301
  "type": "string",
7272
7302
  "description": "ID of the operation to use for the request."
@@ -81,6 +81,12 @@
81
81
  "type": "string",
82
82
  "description": "URL or local path to the OpenAPI description."
83
83
  },
84
+ "definition": {
85
+ "type": "object",
86
+ "readOnly": true,
87
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
88
+ "additionalProperties": true
89
+ },
84
90
  "operationId": {
85
91
  "type": "string",
86
92
  "description": "ID of the operation to use for the request."
@@ -435,6 +441,12 @@
435
441
  "type": "string",
436
442
  "description": "URL or local path to the OpenAPI description."
437
443
  },
444
+ "definition": {
445
+ "type": "object",
446
+ "readOnly": true,
447
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
448
+ "additionalProperties": true
449
+ },
438
450
  "operationId": {
439
451
  "type": "string",
440
452
  "description": "ID of the operation to use for the request."
@@ -26,6 +26,12 @@
26
26
  "type": "string",
27
27
  "description": "URL or local path to the OpenAPI description."
28
28
  },
29
+ "definition": {
30
+ "type": "object",
31
+ "readOnly": true,
32
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
33
+ "additionalProperties": true
34
+ },
29
35
  "operationId": {
30
36
  "type": "string",
31
37
  "description": "ID of the operation to use for the request."
@@ -438,6 +438,12 @@
438
438
  "type": "string",
439
439
  "description": "URL or local path to the OpenAPI description."
440
440
  },
441
+ "definition": {
442
+ "type": "object",
443
+ "readOnly": true,
444
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
445
+ "additionalProperties": true
446
+ },
441
447
  "operationId": {
442
448
  "type": "string",
443
449
  "description": "ID of the operation to use for the request."
@@ -1006,6 +1012,12 @@
1006
1012
  "type": "string",
1007
1013
  "description": "URL or local path to the OpenAPI description."
1008
1014
  },
1015
+ "definition": {
1016
+ "type": "object",
1017
+ "readOnly": true,
1018
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
1019
+ "additionalProperties": true
1020
+ },
1009
1021
  "operationId": {
1010
1022
  "type": "string",
1011
1023
  "description": "ID of the operation to use for the request."
@@ -2624,6 +2636,12 @@
2624
2636
  "type": "string",
2625
2637
  "description": "URL or local path to the OpenAPI description."
2626
2638
  },
2639
+ "definition": {
2640
+ "type": "object",
2641
+ "readOnly": true,
2642
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
2643
+ "additionalProperties": true
2644
+ },
2627
2645
  "operationId": {
2628
2646
  "type": "string",
2629
2647
  "description": "ID of the operation to use for the request."
@@ -2978,6 +2996,12 @@
2978
2996
  "type": "string",
2979
2997
  "description": "URL or local path to the OpenAPI description."
2980
2998
  },
2999
+ "definition": {
3000
+ "type": "object",
3001
+ "readOnly": true,
3002
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
3003
+ "additionalProperties": true
3004
+ },
2981
3005
  "operationId": {
2982
3006
  "type": "string",
2983
3007
  "description": "ID of the operation to use for the request."
@@ -5253,7 +5277,7 @@
5253
5277
  },
5254
5278
  "contexts": {
5255
5279
  "title": "Resolved contexts",
5256
- "array": "array",
5280
+ "type": "array",
5257
5281
  "readOnly": true,
5258
5282
  "description": "Resolved contexts to run the test in. This is a resolved version of the `runOn` property. It is not user-defined and should not be used in test specifications.",
5259
5283
  "items": {
@@ -5351,6 +5375,12 @@
5351
5375
  "type": "string",
5352
5376
  "description": "URL or local path to the OpenAPI description."
5353
5377
  },
5378
+ "definition": {
5379
+ "type": "object",
5380
+ "readOnly": true,
5381
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
5382
+ "additionalProperties": true
5383
+ },
5354
5384
  "operationId": {
5355
5385
  "type": "string",
5356
5386
  "description": "ID of the operation to use for the request."
@@ -6961,6 +6991,12 @@
6961
6991
  "type": "string",
6962
6992
  "description": "URL or local path to the OpenAPI description."
6963
6993
  },
6994
+ "definition": {
6995
+ "type": "object",
6996
+ "readOnly": true,
6997
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
6998
+ "additionalProperties": true
6999
+ },
6964
7000
  "operationId": {
6965
7001
  "type": "string",
6966
7002
  "description": "ID of the operation to use for the request."
@@ -7315,6 +7351,12 @@
7315
7351
  "type": "string",
7316
7352
  "description": "URL or local path to the OpenAPI description."
7317
7353
  },
7354
+ "definition": {
7355
+ "type": "object",
7356
+ "readOnly": true,
7357
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
7358
+ "additionalProperties": true
7359
+ },
7318
7360
  "operationId": {
7319
7361
  "type": "string",
7320
7362
  "description": "ID of the operation to use for the request."
@@ -9642,6 +9684,12 @@
9642
9684
  "type": "string",
9643
9685
  "description": "URL or local path to the OpenAPI description."
9644
9686
  },
9687
+ "definition": {
9688
+ "type": "object",
9689
+ "readOnly": true,
9690
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
9691
+ "additionalProperties": true
9692
+ },
9645
9693
  "operationId": {
9646
9694
  "type": "string",
9647
9695
  "description": "ID of the operation to use for the request."
@@ -4,7 +4,7 @@
4
4
  "description": "A collection of resolved tests ready to be performed.",
5
5
  "type": "object",
6
6
  "dynamicDefaults": {
7
- "reportId": "uuid"
7
+ "resolvedTestsId": "uuid"
8
8
  },
9
9
  "properties": {
10
10
  "resolvedTestsId": {
@@ -2209,6 +2209,12 @@
2209
2209
  "type": "string",
2210
2210
  "description": "URL or local path to the OpenAPI description."
2211
2211
  },
2212
+ "definition": {
2213
+ "type": "object",
2214
+ "readOnly": true,
2215
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
2216
+ "additionalProperties": true
2217
+ },
2212
2218
  "operationId": {
2213
2219
  "type": "string",
2214
2220
  "description": "ID of the operation to use for the request."
@@ -2563,6 +2569,12 @@
2563
2569
  "type": "string",
2564
2570
  "description": "URL or local path to the OpenAPI description."
2565
2571
  },
2572
+ "definition": {
2573
+ "type": "object",
2574
+ "readOnly": true,
2575
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
2576
+ "additionalProperties": true
2577
+ },
2566
2578
  "operationId": {
2567
2579
  "type": "string",
2568
2580
  "description": "ID of the operation to use for the request."
@@ -5151,6 +5163,12 @@
5151
5163
  "type": "string",
5152
5164
  "description": "URL or local path to the OpenAPI description."
5153
5165
  },
5166
+ "definition": {
5167
+ "type": "object",
5168
+ "readOnly": true,
5169
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
5170
+ "additionalProperties": true
5171
+ },
5154
5172
  "operationId": {
5155
5173
  "type": "string",
5156
5174
  "description": "ID of the operation to use for the request."
@@ -5319,7 +5337,7 @@
5319
5337
  "environment": {
5320
5338
  "type": "object",
5321
5339
  "description": "Environment information for the system running Doc Detective.",
5322
- "readmeOnly": true,
5340
+ "readOnly": true,
5323
5341
  "additionalProperties": false,
5324
5342
  "required": [
5325
5343
  "platform"
@@ -5356,7 +5374,7 @@
5356
5374
  "environment": {
5357
5375
  "type": "object",
5358
5376
  "description": "Environment information for the system running Doc Detective.",
5359
- "readmeOnly": true,
5377
+ "readOnly": true,
5360
5378
  "additionalProperties": false,
5361
5379
  "required": [
5362
5380
  "platform"
@@ -6926,6 +6944,12 @@
6926
6944
  "type": "string",
6927
6945
  "description": "URL or local path to the OpenAPI description."
6928
6946
  },
6947
+ "definition": {
6948
+ "type": "object",
6949
+ "readOnly": true,
6950
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
6951
+ "additionalProperties": true
6952
+ },
6929
6953
  "operationId": {
6930
6954
  "type": "string",
6931
6955
  "description": "ID of the operation to use for the request."
@@ -7280,6 +7304,12 @@
7280
7304
  "type": "string",
7281
7305
  "description": "URL or local path to the OpenAPI description."
7282
7306
  },
7307
+ "definition": {
7308
+ "type": "object",
7309
+ "readOnly": true,
7310
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
7311
+ "additionalProperties": true
7312
+ },
7283
7313
  "operationId": {
7284
7314
  "type": "string",
7285
7315
  "description": "ID of the operation to use for the request."
@@ -10200,6 +10230,12 @@
10200
10230
  "type": "string",
10201
10231
  "description": "URL or local path to the OpenAPI description."
10202
10232
  },
10233
+ "definition": {
10234
+ "type": "object",
10235
+ "readOnly": true,
10236
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
10237
+ "additionalProperties": true
10238
+ },
10203
10239
  "operationId": {
10204
10240
  "type": "string",
10205
10241
  "description": "ID of the operation to use for the request."
@@ -10768,6 +10804,12 @@
10768
10804
  "type": "string",
10769
10805
  "description": "URL or local path to the OpenAPI description."
10770
10806
  },
10807
+ "definition": {
10808
+ "type": "object",
10809
+ "readOnly": true,
10810
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
10811
+ "additionalProperties": true
10812
+ },
10771
10813
  "operationId": {
10772
10814
  "type": "string",
10773
10815
  "description": "ID of the operation to use for the request."
@@ -12386,6 +12428,12 @@
12386
12428
  "type": "string",
12387
12429
  "description": "URL or local path to the OpenAPI description."
12388
12430
  },
12431
+ "definition": {
12432
+ "type": "object",
12433
+ "readOnly": true,
12434
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
12435
+ "additionalProperties": true
12436
+ },
12389
12437
  "operationId": {
12390
12438
  "type": "string",
12391
12439
  "description": "ID of the operation to use for the request."
@@ -12740,6 +12788,12 @@
12740
12788
  "type": "string",
12741
12789
  "description": "URL or local path to the OpenAPI description."
12742
12790
  },
12791
+ "definition": {
12792
+ "type": "object",
12793
+ "readOnly": true,
12794
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
12795
+ "additionalProperties": true
12796
+ },
12743
12797
  "operationId": {
12744
12798
  "type": "string",
12745
12799
  "description": "ID of the operation to use for the request."
@@ -15015,7 +15069,7 @@
15015
15069
  },
15016
15070
  "contexts": {
15017
15071
  "title": "Resolved contexts",
15018
- "array": "array",
15072
+ "type": "array",
15019
15073
  "readOnly": true,
15020
15074
  "description": "Resolved contexts to run the test in. This is a resolved version of the `runOn` property. It is not user-defined and should not be used in test specifications.",
15021
15075
  "items": {
@@ -15113,6 +15167,12 @@
15113
15167
  "type": "string",
15114
15168
  "description": "URL or local path to the OpenAPI description."
15115
15169
  },
15170
+ "definition": {
15171
+ "type": "object",
15172
+ "readOnly": true,
15173
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
15174
+ "additionalProperties": true
15175
+ },
15116
15176
  "operationId": {
15117
15177
  "type": "string",
15118
15178
  "description": "ID of the operation to use for the request."
@@ -16723,6 +16783,12 @@
16723
16783
  "type": "string",
16724
16784
  "description": "URL or local path to the OpenAPI description."
16725
16785
  },
16786
+ "definition": {
16787
+ "type": "object",
16788
+ "readOnly": true,
16789
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
16790
+ "additionalProperties": true
16791
+ },
16726
16792
  "operationId": {
16727
16793
  "type": "string",
16728
16794
  "description": "ID of the operation to use for the request."
@@ -17077,6 +17143,12 @@
17077
17143
  "type": "string",
17078
17144
  "description": "URL or local path to the OpenAPI description."
17079
17145
  },
17146
+ "definition": {
17147
+ "type": "object",
17148
+ "readOnly": true,
17149
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
17150
+ "additionalProperties": true
17151
+ },
17080
17152
  "operationId": {
17081
17153
  "type": "string",
17082
17154
  "description": "ID of the operation to use for the request."
@@ -19404,6 +19476,12 @@
19404
19476
  "type": "string",
19405
19477
  "description": "URL or local path to the OpenAPI description."
19406
19478
  },
19479
+ "definition": {
19480
+ "type": "object",
19481
+ "readOnly": true,
19482
+ "description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
19483
+ "additionalProperties": true
19484
+ },
19407
19485
  "operationId": {
19408
19486
  "type": "string",
19409
19487
  "description": "ID of the operation to use for the request."