fumadocs-openapi 10.3.16 → 10.3.17
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/css/generated/shared.css +1 -0
- package/dist/generate-file.js +1 -2
- package/dist/generate-file.js.map +1 -1
- package/dist/index.js +1 -2
- package/dist/playground/client.d.ts +4 -3
- package/dist/playground/client.d.ts.map +1 -1
- package/dist/playground/client.js +2 -4
- package/dist/playground/client.js.map +1 -1
- package/dist/playground/components/inputs.js +2 -4
- package/dist/playground/components/inputs.js.map +1 -1
- package/dist/playground/components/oauth-dialog.js +1 -2
- package/dist/playground/components/oauth-dialog.js.map +1 -1
- package/dist/playground/components/server-select.js +2 -4
- package/dist/playground/components/server-select.js.map +1 -1
- package/dist/playground/fetcher.js +1 -2
- package/dist/playground/fetcher.js.map +1 -1
- package/dist/playground/index.d.ts +2 -7
- package/dist/playground/index.d.ts.map +1 -1
- package/dist/playground/index.js +23 -3
- package/dist/playground/index.js.map +1 -1
- package/dist/playground/lazy.js +2 -4
- package/dist/playground/lazy.js.map +1 -1
- package/dist/playground/schema.js +1 -2
- package/dist/playground/schema.js.map +1 -1
- package/dist/playground/status-info.js +1 -2
- package/dist/playground/status-info.js.map +1 -1
- package/dist/requests/generators/all.js +1 -2
- package/dist/requests/generators/all.js.map +1 -1
- package/dist/requests/generators/csharp.js +1 -2
- package/dist/requests/generators/csharp.js.map +1 -1
- package/dist/requests/generators/curl.js +1 -2
- package/dist/requests/generators/curl.js.map +1 -1
- package/dist/requests/generators/go.js +1 -2
- package/dist/requests/generators/go.js.map +1 -1
- package/dist/requests/generators/index.js +1 -1
- package/dist/requests/generators/java.js +1 -2
- package/dist/requests/generators/java.js.map +1 -1
- package/dist/requests/generators/javascript.js +1 -2
- package/dist/requests/generators/javascript.js.map +1 -1
- package/dist/requests/generators/python.js +1 -2
- package/dist/requests/generators/python.js.map +1 -1
- package/dist/requests/media/adapter.js +2 -3
- package/dist/requests/media/adapter.js.map +1 -1
- package/dist/requests/media/encode.d.ts.map +1 -1
- package/dist/requests/media/encode.js +1 -2
- package/dist/requests/media/encode.js.map +1 -1
- package/dist/requests/media/resolve-adapter.js +1 -1
- package/dist/requests/media/resolve-adapter.js.map +1 -1
- package/dist/requests/string-utils.js +1 -2
- package/dist/requests/string-utils.js.map +1 -1
- package/dist/requests/to-python-object.js +1 -1
- package/dist/scalar/client.js +2 -4
- package/dist/scalar/client.js.map +1 -1
- package/dist/scalar/index.js +1 -2
- package/dist/scalar/index.js.map +1 -1
- package/dist/server/create.js +1 -2
- package/dist/server/create.js.map +1 -1
- package/dist/server/index.js +1 -2
- package/dist/server/proxy.js +1 -1
- package/dist/server/proxy.js.map +1 -1
- package/dist/server/source-api.js +1 -2
- package/dist/server/source-api.js.map +1 -1
- package/dist/ui/api-page.js +1 -2
- package/dist/ui/api-page.js.map +1 -1
- package/dist/ui/base.js +1 -2
- package/dist/ui/base.js.map +1 -1
- package/dist/ui/client/index.js +2 -3
- package/dist/ui/client/index.js.map +1 -1
- package/dist/ui/client/storage-key.js +1 -2
- package/dist/ui/client/storage-key.js.map +1 -1
- package/dist/ui/components/accordion.js +2 -4
- package/dist/ui/components/accordion.js.map +1 -1
- package/dist/ui/components/dialog.js +3 -5
- package/dist/ui/components/dialog.js.map +1 -1
- package/dist/ui/components/input.js +1 -2
- package/dist/ui/components/input.js.map +1 -1
- package/dist/ui/components/method-label.js +1 -2
- package/dist/ui/components/method-label.js.map +1 -1
- package/dist/ui/components/select.js +2 -3
- package/dist/ui/components/select.js.map +1 -1
- package/dist/ui/contexts/api.js +2 -4
- package/dist/ui/contexts/api.js.map +1 -1
- package/dist/ui/contexts/api.lazy.js +2 -4
- package/dist/ui/contexts/api.lazy.js.map +1 -1
- package/dist/ui/full.client.js +2 -4
- package/dist/ui/full.client.js.map +1 -1
- package/dist/ui/full.js +1 -2
- package/dist/ui/full.js.map +1 -1
- package/dist/ui/index.js +1 -2
- package/dist/ui/operation/client.js +2 -4
- package/dist/ui/operation/client.js.map +1 -1
- package/dist/ui/operation/index.js +1 -2
- package/dist/ui/operation/index.js.map +1 -1
- package/dist/ui/operation/request-tabs.js +1 -2
- package/dist/ui/operation/request-tabs.js.map +1 -1
- package/dist/ui/operation/response-tabs.js +1 -2
- package/dist/ui/operation/response-tabs.js.map +1 -1
- package/dist/ui/operation/usage-tabs/client.js +4 -7
- package/dist/ui/operation/usage-tabs/client.js.map +1 -1
- package/dist/ui/operation/usage-tabs/index.js +1 -2
- package/dist/ui/operation/usage-tabs/index.js.map +1 -1
- package/dist/ui/operation/usage-tabs/lazy.js +2 -4
- package/dist/ui/operation/usage-tabs/lazy.js.map +1 -1
- package/dist/ui/schema/client.js +2 -4
- package/dist/ui/schema/client.js.map +1 -1
- package/dist/ui/schema/index.js +1 -2
- package/dist/ui/schema/index.js.map +1 -1
- package/dist/ui/schema/lazy.js +2 -4
- package/dist/ui/schema/lazy.js.map +1 -1
- package/dist/utils/cn.js +1 -2
- package/dist/utils/deep-equal.js +1 -1
- package/dist/utils/id-to-title.js +1 -1
- package/dist/utils/lazy.js +1 -2
- package/dist/utils/lazy.js.map +1 -1
- package/dist/utils/merge-schema.js +1 -2
- package/dist/utils/merge-schema.js.map +1 -1
- package/dist/utils/pages/builder.js +1 -2
- package/dist/utils/pages/builder.js.map +1 -1
- package/dist/utils/pages/preset-auto.js +1 -2
- package/dist/utils/pages/preset-auto.js.map +1 -1
- package/dist/utils/pages/to-body.js +1 -1
- package/dist/utils/pages/to-static-data.js +1 -2
- package/dist/utils/pages/to-static-data.js.map +1 -1
- package/dist/utils/pages/to-text.js +1 -2
- package/dist/utils/pages/to-text.js.map +1 -1
- package/dist/utils/process-document.js +3 -5
- package/dist/utils/process-document.js.map +1 -1
- package/dist/utils/remove-undefined.js +1 -1
- package/dist/utils/remove-undefined.js.map +1 -1
- package/dist/utils/schema-to-string.js +1 -1
- package/dist/utils/schema-to-string.js.map +1 -1
- package/dist/utils/schema.js +1 -2
- package/dist/utils/schema.js.map +1 -1
- package/dist/utils/url.js +1 -1
- package/dist/utils/use-query.js +1 -2
- package/dist/utils/use-query.js.map +1 -1
- package/package.json +8 -8
- package/dist/_virtual/_rolldown/runtime.js +0 -5
- package/dist/node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/dereference.js +0 -43
- package/dist/node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/dereference.js.map +0 -1
- package/dist/node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/index.js +0 -29
- package/dist/node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/index.js.map +0 -1
- package/dist/node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/klona.js +0 -42
- package/dist/node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/klona.js.map +0 -1
- package/dist/node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/resolveRef.js +0 -46
- package/dist/node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/resolveRef.js.map +0 -1
- package/dist/node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/types.js +0 -12
- package/dist/node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/types.js.map +0 -1
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/klona.js
|
|
4
|
-
/**
|
|
5
|
-
* klona/json - MIT License
|
|
6
|
-
*
|
|
7
|
-
* https://github.com/lukeed/klona/blob/master/license
|
|
8
|
-
*/ var require_klona = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
Object.defineProperty(exports, "klona", {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function() {
|
|
13
|
-
return klona;
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
function klona(val) {
|
|
17
|
-
var index, out, tmp;
|
|
18
|
-
if (Array.isArray(val)) {
|
|
19
|
-
out = Array(index = val.length);
|
|
20
|
-
while (index--) out[index] = (tmp = val[index]) && typeof tmp === "object" ? klona(tmp) : tmp;
|
|
21
|
-
return out;
|
|
22
|
-
}
|
|
23
|
-
if (Object.prototype.toString.call(val) === "[object Object]") {
|
|
24
|
-
out = {};
|
|
25
|
-
for (index in val) if (index === "__proto__") Object.defineProperty(out, index, {
|
|
26
|
-
value: klona(val[index]),
|
|
27
|
-
configurable: true,
|
|
28
|
-
enumerable: true,
|
|
29
|
-
writable: true
|
|
30
|
-
});
|
|
31
|
-
else out[index] = (tmp = val[index]) && typeof tmp === "object" ? klona(tmp) : tmp;
|
|
32
|
-
return out;
|
|
33
|
-
}
|
|
34
|
-
return val;
|
|
35
|
-
}
|
|
36
|
-
}));
|
|
37
|
-
|
|
38
|
-
//#endregion
|
|
39
|
-
export default require_klona();
|
|
40
|
-
|
|
41
|
-
export { require_klona };
|
|
42
|
-
//# sourceMappingURL=klona.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"klona.js","names":[],"sources":["../../../../../../../../node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/klona.js"],"sourcesContent":["/**\n * klona/json - MIT License\n *\n * https://github.com/lukeed/klona/blob/master/license\n */ \"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"klona\", {\n enumerable: true,\n get: function() {\n return klona;\n }\n});\nfunction klona(val) {\n var index, out, tmp;\n if (Array.isArray(val)) {\n out = Array(index = val.length);\n while(index--)out[index] = (tmp = val[index]) && typeof tmp === \"object\" ? klona(tmp) : tmp;\n return out;\n }\n if (Object.prototype.toString.call(val) === \"[object Object]\") {\n out = {}; // null\n for(index in val){\n if (index === \"__proto__\") {\n Object.defineProperty(out, index, {\n value: klona(val[index]),\n configurable: true,\n enumerable: true,\n writable: true\n });\n } else {\n out[index] = (tmp = val[index]) && typeof tmp === \"object\" ? klona(tmp) : tmp;\n }\n }\n return out;\n }\n return val;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AAKA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC;AACF,QAAO,eAAe,SAAS,SAAS;EACpC,YAAY;EACZ,KAAK,WAAW;AACZ,UAAO;;EAEd,CAAC;CACF,SAAS,MAAM,KAAK;EAChB,IAAI,OAAO,KAAK;AAChB,MAAI,MAAM,QAAQ,IAAI,EAAE;AACpB,SAAM,MAAM,QAAQ,IAAI,OAAO;AAC/B,UAAM,QAAQ,KAAI,UAAU,MAAM,IAAI,WAAW,OAAO,QAAQ,WAAW,MAAM,IAAI,GAAG;AACxF,UAAO;;AAEX,MAAI,OAAO,UAAU,SAAS,KAAK,IAAI,KAAK,mBAAmB;AAC3D,SAAM,EAAE;AACR,QAAI,SAAS,IACT,KAAI,UAAU,YACV,QAAO,eAAe,KAAK,OAAO;IAC9B,OAAO,MAAM,IAAI,OAAO;IACxB,cAAc;IACd,YAAY;IACZ,UAAU;IACb,CAAC;OAEF,KAAI,UAAU,MAAM,IAAI,WAAW,OAAO,QAAQ,WAAW,MAAM,IAAI,GAAG;AAGlF,UAAO;;AAEX,SAAO"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/resolveRef.js
|
|
4
|
-
var require_resolveRef = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
Object.defineProperty(exports, "resolveRefSync", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function() {
|
|
9
|
-
return resolveRefSync;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var cache = /* @__PURE__ */ new Map();
|
|
13
|
-
var resolveRefSync = function(schema, ref) {
|
|
14
|
-
if (!cache.has(schema)) cache.set(schema, /* @__PURE__ */ new Map());
|
|
15
|
-
var schemaCache = cache.get(schema);
|
|
16
|
-
if (schemaCache.has(ref)) return schemaCache.get(ref);
|
|
17
|
-
var path = ref.split("/").slice(1);
|
|
18
|
-
var current = schema;
|
|
19
|
-
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
|
20
|
-
try {
|
|
21
|
-
for (var _iterator = path[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
22
|
-
var segment = _step.value;
|
|
23
|
-
if (!current || typeof current !== "object") current = null;
|
|
24
|
-
var _current_segment;
|
|
25
|
-
current = (_current_segment = current[segment]) !== null && _current_segment !== void 0 ? _current_segment : null;
|
|
26
|
-
}
|
|
27
|
-
} catch (err) {
|
|
28
|
-
_didIteratorError = true;
|
|
29
|
-
_iteratorError = err;
|
|
30
|
-
} finally {
|
|
31
|
-
try {
|
|
32
|
-
if (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();
|
|
33
|
-
} finally {
|
|
34
|
-
if (_didIteratorError) throw _iteratorError;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
schemaCache.set(ref, current);
|
|
38
|
-
return current;
|
|
39
|
-
};
|
|
40
|
-
}));
|
|
41
|
-
|
|
42
|
-
//#endregion
|
|
43
|
-
export default require_resolveRef();
|
|
44
|
-
|
|
45
|
-
export { require_resolveRef };
|
|
46
|
-
//# sourceMappingURL=resolveRef.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolveRef.js","names":[],"sources":["../../../../../../../../node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/resolveRef.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"resolveRefSync\", {\n enumerable: true,\n get: function() {\n return resolveRefSync;\n }\n});\nvar cache = new Map();\nvar resolveRefSync = function(schema, ref) {\n if (!cache.has(schema)) {\n cache.set(schema, new Map());\n }\n var schemaCache = cache.get(schema);\n if (schemaCache.has(ref)) {\n return schemaCache.get(ref);\n }\n var path = ref.split(\"/\").slice(1);\n var current = schema;\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;\n try {\n for(var _iterator = path[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){\n var segment = _step.value;\n if (!current || typeof current !== \"object\") {\n // we've reached a dead end\n current = null;\n }\n var _current_segment;\n current = (_current_segment = current[segment]) !== null && _current_segment !== void 0 ? _current_segment : null;\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally{\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally{\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n schemaCache.set(ref, current);\n return current;\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;AACA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC;AACF,QAAO,eAAe,SAAS,kBAAkB;EAC7C,YAAY;EACZ,KAAK,WAAW;AACZ,UAAO;;EAEd,CAAC;CACF,IAAI,wBAAQ,IAAI,KAAK;CACrB,IAAI,iBAAiB,SAAS,QAAQ,KAAK;AACvC,MAAI,CAAC,MAAM,IAAI,OAAO,CAClB,OAAM,IAAI,wBAAQ,IAAI,KAAK,CAAC;EAEhC,IAAI,cAAc,MAAM,IAAI,OAAO;AACnC,MAAI,YAAY,IAAI,IAAI,CACpB,QAAO,YAAY,IAAI,IAAI;EAE/B,IAAI,OAAO,IAAI,MAAM,IAAI,CAAC,MAAM,EAAE;EAClC,IAAI,UAAU;EACd,IAAI,4BAA4B,MAAM,oBAAoB,OAAO,iBAAiB;AAClF,MAAI;AACA,QAAI,IAAI,YAAY,KAAK,OAAO,WAAW,EAAE,OAAO,EAAE,6BAA6B,QAAQ,UAAU,MAAM,EAAE,OAAO,4BAA4B,MAAK;IACjJ,IAAI,UAAU,MAAM;AACpB,QAAI,CAAC,WAAW,OAAO,YAAY,SAE/B,WAAU;IAEd,IAAI;AACJ,eAAW,mBAAmB,QAAQ,cAAc,QAAQ,qBAAqB,KAAK,IAAI,mBAAmB;;WAE5G,KAAK;AACV,uBAAoB;AACpB,oBAAiB;YACZ;AACL,OAAI;AACA,QAAI,CAAC,6BAA6B,UAAU,UAAU,KAClD,WAAU,QAAQ;aAEjB;AACL,QAAI,kBACA,OAAM;;;AAIlB,cAAY,IAAI,KAAK,QAAQ;AAC7B,SAAO"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/types.js
|
|
4
|
-
var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
}));
|
|
7
|
-
|
|
8
|
-
//#endregion
|
|
9
|
-
export default require_types();
|
|
10
|
-
|
|
11
|
-
export { require_types };
|
|
12
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":[],"sources":["../../../../../../../../node_modules/.pnpm/dereference-json-schema@0.2.1/node_modules/dereference-json-schema/types.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n"],"x_google_ignoreList":[0],"mappings":";;;;AACA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC"}
|