mirror of
https://github.com/github/codeql.git
synced 2026-05-14 19:29:28 +02:00
17 lines
602 B
Plaintext
17 lines
602 B
Plaintext
/**
|
|
* @name Fetch endpoints for use in the model editor (framework mode)
|
|
* @description A list of endpoints accessible (methods and attributes) for consumers of the library. Excludes test and generated code.
|
|
* @kind table
|
|
* @id rb/utils/modeleditor/framework-mode-endpoints
|
|
* @tags modeleditor endpoints framework-mode
|
|
*/
|
|
|
|
import ruby
|
|
import codeql.ruby.AST
|
|
import ModelEditor
|
|
|
|
from Endpoint endpoint
|
|
select endpoint, endpoint.getNamespace(), endpoint.getType(), endpoint.getName(),
|
|
endpoint.getParameters(), endpoint.getSupportedStatus(), endpoint.getFileName(),
|
|
endpoint.getSupportedType()
|