vona-module-a-openapi 5.0.36 → 5.0.37

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 +0 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -535,11 +535,6 @@ let ServiceOpenapi = (_dec$2 = Service(), _dec2$2 = BeanInfo({
535
535
  let argsMeta = appMetadata.getMetadata(SymbolRouteHandlersArgumentsMeta, controller.prototype, actionKey);
536
536
  // headers
537
537
  const objHeaders = Object.assign({}, this._combineArgHeaders(controllerOpenApiOptions?.headers), this._combineArgHeaders(actionOpenApiOptions?.headers));
538
- // public
539
- const _public = actionOpenApiOptions?.public ?? controllerOpenApiOptions?.public;
540
- if (!_public && !objHeaders.Authorization) {
541
- objHeaders.Authorization = z.string().optional();
542
- }
543
538
  if (isEmptyObject(objHeaders)) return argsMeta;
544
539
  // merge
545
540
  if (!argsMeta) argsMeta = [];
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.36",
4
+ "version": "5.0.37",
5
5
  "title": "a-openapi",
6
6
  "vonaModule": {
7
7
  "capabilities": {