class AnalyzerFlask
- AnalyzerFlask
- AnalyzerPython
- Analyzer
- Reference
- Object
Defined in:
analyzer/analyzers/analyzer_flask.crConstant Summary
-
REQUEST_PARAM_FIELD_MAP =
{"data" => {["POST", "PUT", "PATCH", "DELETE"], "form"}, "args" => {["GET"], "query"}, "form" => {["POST", "PUT", "PATCH", "DELETE"], "form"}, "files" => {["POST", "PUT", "PATCH", "DELETE"], "form"}, "values" => {["GET", "POST", "PUT", "PATCH", "DELETE"], "query"}, "json" => {["POST", "PUT", "PATCH", "DELETE"], "json"}, "cookie" => {nil, "cookie"}, "headers" => {nil, "header"}}
-
https://stackoverflow.com/a/16664376 https://tedboy.github.io/flask/generated/generated/flask.Request.html
-
REQUEST_PARAM_TYPE_MAP =
{"query" => nil, "form" => ["POST", "PUT", "PATCH", "DELETE"], "json" => ["POST", "PUT", "PATCH", "DELETE"], "cookie" => nil, "header" => nil}
Instance Method Summary
- #analyze
- #get_endpoints(route_path : String, extra_params : String, codeblock_lines : Array(String), prefix : String)
- #get_filtered_params(method : String, params : Array(Param))