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

error: Unexpected folder found "graphql" #368

Closed gigugin17 closed 1 year ago

gigugin17 commented 1 year ago

If I have a apiproxy with a graphqlschema as resource the apigeelint fails with the following error:

error: Unexpected folder found "graphql". Current root:"/apiproxy/resources/graphql". Valid folders: [{"name":"jsc","required":false},{"name":"java","required":false},{"name":"py","required":false},{"name":"xsl","required":false},{"name":"template","required":false},{"name":"openapi","required":false},{"name":"node","required":false},{"name":"hosted","required":false},{"name":"wsdl","required":false},{"name":"xsd","required":false},{"name":"oas","required":false},{"name":"properties","required":false}] (BN001) at 

The command used is the following:

apigeelint -f codeframe.js -s "path-to-apiproxy" --profile apigeex
ssvaidyanathan commented 1 year ago

Apologies for missing this. Fixed in v2.38.0