vona-module-a-web 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 +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -523,10 +523,13 @@ function Controller(path, options) {
523
523
  options = path || {};
524
524
  }
525
525
  return createBeanDecorator('controller', options, false, false, target => {
526
+ // beanOptions
527
+ const beanOptions = appResource.getBean(target);
526
528
  // IOpenApiOptions
527
529
  const optionsMeta = appMetadata.getOwnMetadataMap(false, SymbolOpenApiOptions, target);
528
530
  for (const key of ['exclude', 'tags']) {
529
- if (options[key] !== undefined) optionsMeta[key] = options[key];
531
+ const option = cast(beanOptions?.options)[key];
532
+ if (option !== undefined) optionsMeta[key] = option;
530
533
  }
531
534
  // IOpenApiOptions
532
535
  mergeActionsOpenAPIMetadata(target);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-web",
3
3
  "type": "module",
4
- "version": "5.0.13",
4
+ "version": "5.0.14",
5
5
  "title": "a-web",
6
6
  "vonaModule": {
7
7
  "capabilities": {