@scalar/openapi-to-markdown 0.2.30 → 0.2.32
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/CHANGELOG.md +34 -0
- package/dist/components/MarkdownReference.vue.d.ts +1 -1
- package/dist/components/MarkdownReference.vue.d.ts.map +1 -1
- package/dist/components/MarkdownReference.vue.js +1 -4
- package/dist/components/Schema.vue.d.ts.map +1 -1
- package/dist/components/XmlOrJson.vue.d.ts.map +1 -1
- package/dist/components/XmlOrJson.vue.js +4 -4
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @scalar/openapi-to-markdown
|
|
2
2
|
|
|
3
|
+
## 0.2.32
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [c470c60]
|
|
8
|
+
- Updated dependencies [abe3842]
|
|
9
|
+
- @scalar/components@0.14.29
|
|
10
|
+
- @scalar/types@0.2.15
|
|
11
|
+
- @scalar/oas-utils@0.4.24
|
|
12
|
+
- @scalar/openapi-parser@0.20.2
|
|
13
|
+
- @scalar/snippetz@0.4.9
|
|
14
|
+
|
|
15
|
+
## 0.2.31
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 98c55d0: feat: better xml rendering
|
|
20
|
+
- Updated dependencies [714b197]
|
|
21
|
+
- Updated dependencies [40e79b9]
|
|
22
|
+
- Updated dependencies [98c55d0]
|
|
23
|
+
- Updated dependencies [792c937]
|
|
24
|
+
- Updated dependencies [f918582]
|
|
25
|
+
- Updated dependencies [cededd8]
|
|
26
|
+
- Updated dependencies [a6ae22a]
|
|
27
|
+
- Updated dependencies [422cb2b]
|
|
28
|
+
- Updated dependencies [0e747c7]
|
|
29
|
+
- Updated dependencies [976366f]
|
|
30
|
+
- @scalar/oas-utils@0.4.23
|
|
31
|
+
- @scalar/snippetz@0.4.8
|
|
32
|
+
- @scalar/helpers@0.0.9
|
|
33
|
+
- @scalar/types@0.2.14
|
|
34
|
+
- @scalar/components@0.14.28
|
|
35
|
+
- @scalar/openapi-parser@0.20.2
|
|
36
|
+
|
|
3
37
|
## 0.2.30
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
|
@@ -2,6 +2,6 @@ import type { OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
content: OpenAPIV3_1.Document;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
export default _default;
|
|
7
7
|
//# sourceMappingURL=MarkdownReference.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/MarkdownReference.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MarkdownReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/MarkdownReference.vue"],"names":[],"mappings":"AA6TA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAOxD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,WAAW,CAAC,QAAQ,CAAA;CAC9B,CAAC;;AAubF,wBAMG"}
|
|
@@ -225,10 +225,7 @@ const Q = { key: 1 }, X = { key: 0 }, Y = { key: 1 }, Z = { key: 2 }, h = { key:
|
|
|
225
225
|
], -1)),
|
|
226
226
|
s.type === "object" ? (t(), j(C, {
|
|
227
227
|
key: 2,
|
|
228
|
-
"model-value": (
|
|
229
|
-
// @ts-expect-error not on the new store yet
|
|
230
|
-
S(V)(s)
|
|
231
|
-
)
|
|
228
|
+
"model-value": S(V)(s)
|
|
232
229
|
}, null, 8, ["model-value"])) : r("", !0)
|
|
233
230
|
]))), 128))
|
|
234
231
|
])) : r("", !0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.vue.d.ts","sourceRoot":"","sources":["../../src/components/Schema.vue"],"names":[],"mappings":"AA6MA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"Schema.vue.d.ts","sourceRoot":"","sources":["../../src/components/Schema.vue"],"names":[],"mappings":"AA6MA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,WAAW,CAAC,YAAY,CAAA;CACjC,CAAC;;AAsTF,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XmlOrJson.vue.d.ts","sourceRoot":"","sources":["../../src/components/XmlOrJson.vue"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"XmlOrJson.vue.d.ts","sourceRoot":"","sources":["../../src/components/XmlOrJson.vue"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,KAAK,WAAW,GAAG;IACf,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,UAAU,EAAE,WAAW,CAAC,YAAY,CAAA;CACrC,CAAC;;SAFM,OAAO;;AAyDjB,wBAOG"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as r, createElementBlock as o, openBlock as l, createElementVNode as n, toDisplayString as t, unref as m } from "vue";
|
|
2
|
-
import a from "
|
|
2
|
+
import { json2xml as a } from "@scalar/helpers/file/json2xml";
|
|
3
3
|
const p = { key: 0 }, s = { key: 1 }, f = /* @__PURE__ */ r({
|
|
4
4
|
__name: "XmlOrJson",
|
|
5
5
|
props: {
|
|
6
6
|
xml: { type: Boolean, default: !1 },
|
|
7
7
|
modelValue: { type: [Object, Boolean] }
|
|
8
8
|
},
|
|
9
|
-
setup(
|
|
10
|
-
return (e,
|
|
11
|
-
n("code", null, t(
|
|
9
|
+
setup(u) {
|
|
10
|
+
return (e, c) => e.xml ? (l(), o("pre", p, [
|
|
11
|
+
n("code", null, t(m(a)(e.modelValue)), 1)
|
|
12
12
|
])) : (l(), o("pre", s, [
|
|
13
13
|
n("code", null, t(JSON.stringify(e.modelValue, null, 2)), 1)
|
|
14
14
|
]));
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"llm",
|
|
17
17
|
"swagger"
|
|
18
18
|
],
|
|
19
|
-
"version": "0.2.
|
|
19
|
+
"version": "0.2.32",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=20"
|
|
22
22
|
},
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"module": "dist/index.js",
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"html-minifier-terser": "^7.2.0",
|
|
49
|
-
"object-to-xml": "^2.0.0",
|
|
50
49
|
"rehype-parse": "^9.0.0",
|
|
51
50
|
"rehype-remark": "^10.0.1",
|
|
52
51
|
"rehype-sanitize": "^6.0.0",
|
|
@@ -55,12 +54,13 @@
|
|
|
55
54
|
"remark-stringify": "^11.0.0",
|
|
56
55
|
"unified": "^11.0.4",
|
|
57
56
|
"vue": "^3.5.17",
|
|
58
|
-
"@scalar/components": "0.14.
|
|
59
|
-
"@scalar/
|
|
57
|
+
"@scalar/components": "0.14.29",
|
|
58
|
+
"@scalar/oas-utils": "0.4.24",
|
|
59
|
+
"@scalar/helpers": "0.0.9",
|
|
60
60
|
"@scalar/openapi-types": "0.3.7",
|
|
61
|
-
"@scalar/
|
|
62
|
-
"@scalar/
|
|
63
|
-
"@scalar/
|
|
61
|
+
"@scalar/openapi-parser": "0.20.2",
|
|
62
|
+
"@scalar/types": "0.2.15",
|
|
63
|
+
"@scalar/snippetz": "0.4.9"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@hono/node-server": "^1.11.0",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"hono": "^4.6.5",
|
|
71
71
|
"vite": "6.1.6",
|
|
72
72
|
"vue": "^3.5.17",
|
|
73
|
-
"@scalar/
|
|
74
|
-
"@scalar/
|
|
73
|
+
"@scalar/galaxy": "0.5.8",
|
|
74
|
+
"@scalar/build-tooling": "0.2.6"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
77
|
"build": "scalar-build-vite",
|