vovk 3.0.0-draft.84 → 3.0.0-draft.85

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.
@@ -11,13 +11,10 @@ const openapiDecorator = (0, createDecorator_1.createDecorator)(null, (openAPIOp
11
11
  ? Object.entries(handlerSchema.validation.query.properties).map(([propName, propSchema]) => ({
12
12
  name: propName,
13
13
  in: 'query',
14
- description: propSchema.description || '',
15
14
  required: handlerSchema.validation?.query.required
16
15
  ? handlerSchema.validation.query.required.includes(propName)
17
16
  : false,
18
- schema: {
19
- type: 'string',
20
- },
17
+ schema: propSchema,
21
18
  }))
22
19
  : null;
23
20
  const pathParameters = handlerSchema?.validation?.params &&
@@ -26,13 +23,10 @@ const openapiDecorator = (0, createDecorator_1.createDecorator)(null, (openAPIOp
26
23
  ? Object.entries(handlerSchema.validation.params.properties).map(([propName, propSchema]) => ({
27
24
  name: propName,
28
25
  in: 'path',
29
- description: propSchema.description || '',
30
26
  required: handlerSchema.validation?.params.required
31
27
  ? handlerSchema.validation.params.required.includes(propName)
32
28
  : false,
33
- schema: {
34
- type: 'string',
35
- },
29
+ schema: propSchema,
36
30
  }))
37
31
  : null;
38
32
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk",
3
- "version": "3.0.0-draft.84",
3
+ "version": "3.0.0-draft.85",
4
4
  "main": "dist/index.js",
5
5
  "description": "RESTful RPC for Next.js - Transforms Next.js into a powerful REST API platform with RPC capabilities.",
6
6
  "repository": {