Files
codeql/python/ql/src/utils/modeleditor/FrameworkModeEndpoints.ql
2024-06-27 16:05:21 +02:00

15 lines
605 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 py/utils/modeleditor/framework-mode-endpoints
* @tags modeleditor endpoints framework-mode
*/
import modeling.ModelEditor
from Endpoint endpoint
select endpoint, endpoint.getNamespace(), endpoint.getClass(), endpoint.getFunctionName(),
endpoint.getParameters(), endpoint.getSupportedStatus(), endpoint.getFileName(),
endpoint.getSupportedType(), endpoint.getKind()