fumadocs-openapi 11.0.5 → 11.0.6

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.
@@ -71,7 +71,7 @@ function removeEmptySchemaOnlyContentEntries(content) {
71
71
  }
72
72
  }
73
73
  /** The allowed properties for an OpenAPI 3.x ExampleObject */
74
- const EXAMPLE_OBJECT_PROPERTIES = new Set([
74
+ const EXAMPLE_OBJECT_PROPERTIES = /* @__PURE__ */ new Set([
75
75
  "summary",
76
76
  "description",
77
77
  "value",
@@ -1,6 +1,6 @@
1
1
  import { traverse } from "../helpers/traverse.js";
2
2
  //#region ../../node_modules/.pnpm/@scalar+openapi-upgrader@0.2.9/node_modules/@scalar/openapi-upgrader/dist/3.0-to-3.1/upgrade-from-three-to-three-one.js
3
- const SCHEMA_SEGMENTS = new Set([
3
+ const SCHEMA_SEGMENTS = /* @__PURE__ */ new Set([
4
4
  "properties",
5
5
  "items",
6
6
  "allOf",
@@ -7,7 +7,7 @@ const csharp = {
7
7
  lang: "csharp",
8
8
  generate(data, { mediaAdapters }) {
9
9
  const s = [];
10
- const imports = new Set([
10
+ const imports = /* @__PURE__ */ new Set([
11
11
  "System",
12
12
  "System.Net.Http",
13
13
  "System.Text"
@@ -8,7 +8,7 @@ const java = {
8
8
  generate(data, { mediaAdapters }) {
9
9
  const s = [];
10
10
  const headers = { ...data.header };
11
- const imports = new Set([
11
+ const imports = /* @__PURE__ */ new Set([
12
12
  "java.net.URI",
13
13
  "java.net.http.HttpClient",
14
14
  "java.net.http.HttpRequest",
@@ -7,7 +7,7 @@ const methods = [
7
7
  "PATCH",
8
8
  "HEAD"
9
9
  ];
10
- const methodsWithBody = new Set([
10
+ const methodsWithBody = /* @__PURE__ */ new Set([
11
11
  "POST",
12
12
  "PUT",
13
13
  "PATCH",
package/dist/utils/cn.js CHANGED
@@ -1,2 +1,2 @@
1
- import { twMerge as cn } from "tailwind-merge";
1
+ import { cn } from "cnfast";
2
2
  export { cn };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-openapi",
3
- "version": "11.0.5",
3
+ "version": "11.0.6",
4
4
  "description": "Generate MDX docs for your OpenAPI spec",
5
5
  "keywords": [
6
6
  "Docs",
@@ -46,31 +46,30 @@
46
46
  "@fumari/json-schema-ts": "^0.0.2",
47
47
  "chokidar": "^5.0.0",
48
48
  "class-variance-authority": "^0.7.1",
49
+ "cnfast": "^0.0.8",
49
50
  "github-slugger": "^2.0.0",
50
51
  "hast-util-to-jsx-runtime": "^2.3.6",
51
- "js-yaml": "^4.2.0",
52
- "lucide-react": "^1.20.0",
52
+ "js-yaml": "^5.1.0",
53
+ "lucide-react": "^1.21.0",
53
54
  "remark": "^15.0.1",
54
55
  "remark-rehype": "^11.1.2",
55
56
  "shiki": "^4.2.0",
56
- "tailwind-merge": "^3.6.0",
57
- "@fumadocs/api-docs": "0.0.3",
57
+ "@fumadocs/api-docs": "0.0.4",
58
58
  "@fumari/stf": "1.0.5"
59
59
  },
60
60
  "devDependencies": {
61
- "@scalar/api-client-react": "^2.0.25",
61
+ "@scalar/api-client-react": "^2.0.27",
62
62
  "@scalar/openapi-upgrader": "^0.2.9",
63
63
  "@tailwindcss/oxide": "^4.3.1",
64
- "@types/js-yaml": "^4.0.9",
65
- "@types/node": "25.9.3",
64
+ "@types/node": "26.0.0",
66
65
  "@types/react": "^19.2.17",
67
66
  "fast-content-type-parse": "^3.0.0",
68
67
  "json-schema-typed": "^8.0.2",
69
68
  "tsdown": "0.22.3",
70
69
  "xml-js": "^1.6.11",
71
- "fumadocs-core": "16.10.5",
72
- "tsconfig": "0.0.0",
73
- "fumadocs-ui": "16.10.5"
70
+ "fumadocs-core": "16.10.6",
71
+ "fumadocs-ui": "16.10.6",
72
+ "tsconfig": "0.0.0"
74
73
  },
75
74
  "peerDependencies": {
76
75
  "@scalar/api-client-react": "^2.0.20",