apeframework 0.0.0-dev.40 → 0.0.0-dev.41

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.
@@ -6,6 +6,7 @@ interface Route {
6
6
  path: string;
7
7
  name?: string;
8
8
  description?: string;
9
+ tags?: string[];
9
10
  schema: Schema;
10
11
  handler: Handler;
11
12
  }
@@ -1,10 +1,9 @@
1
1
  import type { OpenAPIV3 } from 'openapi-types';
2
2
  interface Schema {
3
- contentType?: string;
4
3
  params?: OpenAPIV3.SchemaObject;
5
4
  query?: OpenAPIV3.SchemaObject;
6
5
  headers?: OpenAPIV3.SchemaObject;
7
- body?: OpenAPIV3.SchemaObject;
8
- response?: Record<number, OpenAPIV3.SchemaObject>;
6
+ body?: OpenAPIV3.RequestBodyObject;
7
+ response?: OpenAPIV3.ResponseObject;
9
8
  }
10
9
  export { type Schema, };
@@ -77,9 +77,7 @@ class Server {
77
77
  schema: {
78
78
  summary: route.name ?? route.path,
79
79
  description: route.description,
80
- ...route.schema.contentType
81
- ? { consumes: [route.schema.contentType] }
82
- : {},
80
+ tags: route.tags,
83
81
  ...route.schema.params
84
82
  ? { params: route.schema.params }
85
83
  : {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apeframework",
3
- "version": "0.0.0-dev.40",
3
+ "version": "0.0.0-dev.41",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -21,33 +21,33 @@
21
21
  "node": ">=22"
22
22
  },
23
23
  "dependencies": {
24
- "@fastify/compress": "^8.1",
24
+ "@fastify/compress": "^8.3",
25
25
  "@fastify/cookie": "^11.0",
26
- "@fastify/cors": "^11.1",
26
+ "@fastify/cors": "^11.2",
27
27
  "@fastify/formbody": "^8.0",
28
- "@fastify/multipart": "^9.3",
28
+ "@fastify/multipart": "^9.4",
29
29
  "@fastify/response-validation": "^3.0",
30
- "@fastify/swagger": "^9.5",
30
+ "@fastify/swagger": "^9.6",
31
31
  "@types/fs-extra": "^11.0",
32
32
  "@types/nodemailer": "^7.0",
33
33
  "@types/yargs-parser": "^21.0",
34
34
  "ajv": "^8.17",
35
35
  "argon2": "^0.44",
36
- "bullmq": "^5.63",
36
+ "bullmq": "^5.67",
37
37
  "dotenv": "^17.2",
38
38
  "fast-uri": "^3.1",
39
- "fastify": "^5.6",
39
+ "fastify": "^5.7",
40
40
  "fs-extra": "^11.3",
41
41
  "ical-generator": "^10.0",
42
- "ioredis": "^5.8",
42
+ "ioredis": "^5.9",
43
43
  "jose": "^6.1",
44
44
  "mariadb": "^3.4",
45
- "mysql2": "^3.15",
45
+ "mysql2": "^3.16",
46
46
  "nodemailer": "^7.0",
47
47
  "openapi-types": "^12.1",
48
- "pg": "^8.16",
48
+ "pg": "^8.18",
49
49
  "pg-hstore": "^2.3",
50
- "pino": "^10.1",
50
+ "pino": "^10.3",
51
51
  "pino-pretty": "^13.1",
52
52
  "sequelize": "^6.37",
53
53
  "sqlite3": "^5.1",
@@ -55,7 +55,7 @@
55
55
  "yargs-parser": "^22.0"
56
56
  },
57
57
  "peerDependencies": {
58
- "@types/node": "^24.10",
58
+ "@types/node": "^25.2",
59
59
  "typescript": "^5.9"
60
60
  },
61
61
  "exports": {