openapi-explorer 0.10.445 → 0.10.446
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.
|
@@ -575,6 +575,10 @@ export function schemaInObjectNotation(rawSchema, options, level = 0, suffix = '
|
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
+
for (const key in schema.patternProperties) {
|
|
579
|
+
obj[`<pattern: ${key}>`] = schemaInObjectNotation(schema.patternProperties[key], options, level + 1);
|
|
580
|
+
}
|
|
581
|
+
|
|
578
582
|
if (schema.additionalProperties) {
|
|
579
583
|
obj['<any-key>'] = schemaInObjectNotation(schema.additionalProperties, options);
|
|
580
584
|
}
|
|
@@ -592,6 +592,10 @@ function schemaInObjectNotation(rawSchema, options, level = 0, suffix = '') {
|
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
594
|
|
|
595
|
+
for (const key in schema.patternProperties) {
|
|
596
|
+
obj[`<pattern: ${key}>`] = schemaInObjectNotation(schema.patternProperties[key], options, level + 1);
|
|
597
|
+
}
|
|
598
|
+
|
|
595
599
|
if (schema.additionalProperties) {
|
|
596
600
|
obj['<any-key>'] = schemaInObjectNotation(schema.additionalProperties, options);
|
|
597
601
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openapi-explorer",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.446",
|
|
4
4
|
"description": "OpenAPI Explorer - API viewer with dynamically generated components, documentation, and interaction console",
|
|
5
5
|
"author": "Rhosys Developers <developers@rhosys.ch>",
|
|
6
6
|
"type": "module",
|