@hedystia/swagger 1.2.4 → 1.2.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/dist/index.d.ts CHANGED
@@ -38,12 +38,14 @@ declare function swagger(options?: SwaggerOptions): {
38
38
  path: "/";
39
39
  params: any;
40
40
  query: any;
41
+ headers: any;
41
42
  response: any;
42
43
  }, {
43
44
  method: "GET";
44
45
  path: "/json";
45
46
  params: any;
46
47
  query: any;
48
+ headers: any;
47
49
  response: any;
48
50
  }], {}>;
49
51
  swagger: Swagger;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@hedystia/swagger",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "devDependencies": {
5
5
  "@types/bun": "latest",
6
6
  "tsup": "^8.3.5"
7
7
  },
8
8
  "dependencies": {
9
9
  "@apidevtools/swagger-parser": "^10.1.1",
10
- "hedystia": "^1.2.4",
10
+ "hedystia": "^1.2.5",
11
11
  "openapi-types": "^12.1.3"
12
12
  },
13
13
  "peerDependencies": {
@@ -47,5 +47,6 @@
47
47
  },
48
48
  "type": "commonjs",
49
49
  "types": "./dist/index.d.ts",
50
- "main": "./dist/index.js"
50
+ "main": "./dist/index.js",
51
+ "module": "./dist/index.js"
51
52
  }
package/readme.md CHANGED
@@ -131,10 +131,9 @@ app.use("/swagger", swaggerPlugin.plugin).listen(3000);
131
131
  - ✅ Router Groups & Middleware
132
132
  - ✅ Type-safe Client Generation
133
133
  - ✅ WebSocket Support
134
- - ✅ Standard Schema Compatibility
135
134
 
136
135
  ### Advanced Capabilities
137
- - ✅ Zod Validation - Changed to native validation plugin
136
+ - ✅ Standard Schema Compatibility
138
137
  - ✅ Hooks System (onRequest, onError, etc)
139
138
  - ✅ Macro System for Auth/Rate Limiting
140
139
  - ✅ OpenAPI - Swagger Integration