vona-module-a-openapi 5.0.13 → 5.0.14

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import { OpenApiGeneratorV3, OpenApiGeneratorV31, OpenAPIRegistry } from '@astea
5
5
  import * as ModuleInfo from '@cabloy/module-info';
6
6
  import { isEmptyObject, isNil } from '@cabloy/utils';
7
7
  import { toUpperCaseFirstChar } from '@cabloy/word-utils';
8
- import { Service, SymbolRequestMappingHandler, RequestMethod } from 'vona-module-a-web';
8
+ import { Service, SymbolRequestMappingHandler } from 'vona-module-a-web';
9
9
  import { z } from 'zod';
10
10
  import { coerceWithNil } from '@cabloy/zod-query';
11
11
  import 'openapi3-ts/oas30';
@@ -239,7 +239,7 @@ let ServiceOpenapi = (_dec$1 = Service(), _dec2$1 = BeanInfo({
239
239
  if (!appMetadata.hasMetadata(SymbolRequestMappingHandler, controller.prototype, actionKey)) return;
240
240
  const handlerMetadata = appMetadata.getMetadata(SymbolRequestMappingHandler, controller.prototype, actionKey);
241
241
  const actionPath = handlerMetadata.path || '';
242
- const actionMethod = handlerMetadata.method || RequestMethod.GET;
242
+ const actionMethod = handlerMetadata.method || 'get';
243
243
 
244
244
  // routePath
245
245
  const routePath = app.util.combineApiPathControllerAndAction(info.relativeName, controllerPath, actionPath, true, true);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-openapi",
3
3
  "type": "module",
4
- "version": "5.0.13",
4
+ "version": "5.0.14",
5
5
  "title": "a-openapi",
6
6
  "vonaModule": {
7
7
  "capabilities": {