apigee / apigeelint

Static code analysis for Apigee proxy bundles to encourage API developers to use best practices and avoid anti-patterns.
Apache License 2.0
92 stars 71 forks source link

Resource filePath is file name only #370

Closed astellingwerf closed 1 year ago

astellingwerf commented 1 year ago

For the report to be truly useful for Resources, their location should be exposed, just like for Policies. With the full path, code quality reports can be generated for the source code, whereas with just a filename, fuzzy logic needs to be implemented to reconstruct the path.

Work was done for this with #353, but for Resources the fname is used instead of the path.

ssvaidyanathan commented 1 year ago

@astellingwerf - thanks for flagging this I have pushed a fix. Can you please check with v2.39.0?

astellingwerf commented 1 year ago

Works for my (admittedly limited) use case. Thanks @ssvaidyanathan!