@spikers/next-openapi-json-generator 2.0.0 → 2.0.1

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/dist/index.cjs CHANGED
@@ -112,7 +112,7 @@ var import_promises2 = __toESM(require("fs/promises"), 1);
112
112
  async function isDocumentedRoute(routePath2) {
113
113
  try {
114
114
  const rawCode = await import_promises2.default.readFile(routePath2, "utf-8");
115
- return rawCode.includes("@omer-x/next-openapi-route-handler");
115
+ return rawCode.includes("@spikers/next-openapi-route-handler");
116
116
  } catch {
117
117
  return false;
118
118
  }
package/dist/index.js CHANGED
@@ -83,7 +83,7 @@ import fs2 from "fs/promises";
83
83
  async function isDocumentedRoute(routePath2) {
84
84
  try {
85
85
  const rawCode = await fs2.readFile(routePath2, "utf-8");
86
- return rawCode.includes("@omer-x/next-openapi-route-handler");
86
+ return rawCode.includes("@spikers/next-openapi-route-handler");
87
87
  } catch {
88
88
  return false;
89
89
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spikers/next-openapi-json-generator",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "a Next.js plugin to generate OpenAPI documentation from route handlers",
5
5
  "keywords": [
6
6
  "next.js",