next-openapi-gen 0.4.4 → 0.4.5

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/README.md CHANGED
@@ -9,7 +9,7 @@ Automatically generate OpenAPI 3.0 documentation from Next.js projects, with sup
9
9
  - ✅ TypeScript types support
10
10
  - ✅ Zod schemas support
11
11
  - ✅ JSDoc comments support
12
- - ✅ Multiple UI interfaces: `Scalar`, `Swagger`, `Redoc`, `Stoplight` and `Rapidoc` available at `/api-docs` url.
12
+ - ✅ Multiple UI interfaces: `Scalar`, `Swagger`, `Redoc`, `Stoplight` and `Rapidoc` available at `/api-docs` url
13
13
  - ✅ Path parameters detection (`/users/{id}`)
14
14
  - ✅ Intelligent parameter examples
15
15
  - ✅ Intuitive CLI for initialization and documentation generation
@@ -16,7 +16,7 @@ export class RouteProcessor {
16
16
  processFileTracker = {};
17
17
  constructor(config) {
18
18
  this.config = config;
19
- this.schemaProcessor = new SchemaProcessor(config.schemaDir);
19
+ this.schemaProcessor = new SchemaProcessor(config.schemaDir, config.schemaType);
20
20
  }
21
21
  /**
22
22
  * Get the SchemaProcessor instance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-openapi-gen",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "Automatically generate OpenAPI 3.0 documentation from Next.js projects, with support for TypeScript types and Zod schemas.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",