cap-js / ord

Open Resource Discovery (ORD) is a protocol that allows applications and services to self-describe their exposed resources and capabilities. This plugin enables generation of ORD document for CAP based applications.
Apache License 2.0
3 stars 4 forks source link

Minor fixes #36

Closed RoshniNaveenaS closed 4 months ago

shubho5 commented 4 months ago

General comment: In the future, please avoid using global as a function parameter or passing it as a value of the parameter. It doesn't serve the purpose of global except in some cases. In your code, I think it can be avoidable.