class AnalyzerFastAPI

Defined in:

analyzer/analyzers/analyzer_fastapi.cr

Instance Method Summary

Instance methods inherited from class AnalyzerPython

find_imported_modules(app_base_path : String, file_path : String, content : String | Nil = nil) : Hash(String, Tuple(String, Int32)) find_imported_modules, find_imported_package(package_path : String, dotted_as_names : String) : Array(Tuple(String, String, Int32)) find_imported_package, find_json_params(codeblock_lines : Array(String), json_variable_names : Array(String)) : Array(Param) find_json_params, parse_function_definition(source_lines : Array(String), start_index : Int) : FunctionDefinition | Nil parse_function_definition, parse_function_or_class(data : String | Array(String), after : Regex | Nil = nil) : String | Nil parse_function_or_class, return_literal_value(data : String) : String return_literal_value

Instance methods inherited from class Analyzer

analyze analyze, base_path : String base_path, logger : NoirLogger logger, result : Array(Endpoint) result, url : String url

Constructor methods inherited from class Analyzer

new(options : Hash(Symbol, String)) new

Instance Method Detail

def analyze #

[View source]
def configure_router_prefix(file : String, include_router_map : Hash, router_prefix : String = "") #

[View source]
def find_base_model_params(source : String, class_name : String, param_name : String) : Array(Param) #

[View source]
def find_dictionary_params(source : String, param : FunctionParameter) : Array(Param) #

[View source]
def infer_parameter_type(data, is_param_type = false) : String | Nil #

[View source]