@api-client/core 0.19.13 → 0.19.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.
- package/build/src/modeling/validation/api_model_rules.d.ts.map +1 -1
- package/build/src/modeling/validation/api_model_rules.js +2 -1
- package/build/src/modeling/validation/api_model_rules.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/modeling/validation/api_model_rules.ts +2 -1
package/package.json
CHANGED
|
@@ -600,7 +600,8 @@ export function validateExposedEntity(entity: ExposedEntity, apiModel: ApiModel)
|
|
|
600
600
|
message: `The ${action.kind} action has no security rules attached, making it entirely inaccessible or open.`,
|
|
601
601
|
suggestion: 'Allow specific user roles to access this operation.',
|
|
602
602
|
severity: 'error',
|
|
603
|
-
|
|
603
|
+
// using action.kind as the key context equivalent
|
|
604
|
+
context: { ...context, kind: 'Action', key: action.kind, parentExposedEntityKey: entity.key },
|
|
604
605
|
})
|
|
605
606
|
}
|
|
606
607
|
}
|