mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
codeql query format
This commit is contained in:
@@ -5,7 +5,9 @@ import codeql.ruby.AST
|
||||
|
||||
query predicate grapeApiClasses(Grape::GrapeApiClass api) { any() }
|
||||
|
||||
query predicate grapeEndpoints(Grape::GrapeApiClass api, Grape::GrapeEndpoint endpoint, string method, string path) {
|
||||
query predicate grapeEndpoints(
|
||||
Grape::GrapeApiClass api, Grape::GrapeEndpoint endpoint, string method, string path
|
||||
) {
|
||||
endpoint = api.getAnEndpoint() and
|
||||
method = endpoint.getHttpMethod() and
|
||||
path = endpoint.getPath()
|
||||
|
||||
Reference in New Issue
Block a user