|
|
@ -38,7 +38,7 @@ DEFAULT_BASE_METHODS = {
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
"command": "get",
|
|
|
|
"command": "get",
|
|
|
|
"parameters": "",
|
|
|
|
"parameters": "",
|
|
|
|
"method": "POST"
|
|
|
|
"method": "GET"
|
|
|
|
}],
|
|
|
|
}],
|
|
|
|
"ApiMutableServiceControllerBase": [{
|
|
|
|
"ApiMutableServiceControllerBase": [{
|
|
|
|
"command": "status",
|
|
|
|
"command": "status",
|
|
|
@ -133,7 +133,7 @@ def parse_api_php(src_filename):
|
|
|
|
if item not in this_commands:
|
|
|
|
if item not in this_commands:
|
|
|
|
result.append({
|
|
|
|
result.append({
|
|
|
|
'type': 'Service',
|
|
|
|
'type': 'Service',
|
|
|
|
'method': 'GET',
|
|
|
|
'method': item['method'],
|
|
|
|
'module': module_name,
|
|
|
|
'module': module_name,
|
|
|
|
'controller': controller,
|
|
|
|
'controller': controller,
|
|
|
|
'is_abstract': False,
|
|
|
|
'is_abstract': False,
|
|
|
|