Skip to content

Commit 989fc14

Browse files
add application code filters
1 parent 007a9af commit 989fc14

File tree

21 files changed

+287
-131
lines changed

21 files changed

+287
-131
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"type":"controller","name":"Department","module":"department","description":"postDepartment","basePath":"api","actions":[{"actionName":"postDepartment","path":"department","method":"POST","requestBody":{"content":{"application/json":{"schema":{"type":"Department","name":"Department","isRequired":true,"objectType":"dto","module":"shared"}}}},"responses":{"201":{"name":"OK","content":{"application/json":{"schema":{"type":"DepartmentDTO","objectType":"dto","name":"data","collectionType":"none","module":"shared"}}}}}},{"actionName":"getDepartments","path":"departments","method":"GET","responses":{"200":{"description":"List of Departments","content":{"application/json":{"schema":{"type":"DepartmentDTO","name":"data","collectionType":"list"}}}}}},{"actionName":"getDepartmentById","path":"departments/{id}","method":"GET","responses":{"200":{"description":"Department Data","content":{"application/json":{"schema":{"type":"DepartmentDTO","objectType":"dto","name":"data","collectionType":"none","module":"shared"}}}}},"pathVariables":[{"type":"integer","name":"id","description":"ID of the Department","isRequired":true}]},{"actionName":"updateDepartment","path":"departments/{id}","method":"PUT","requestBody":{"content":{"application/json":{"schema":{"type":"DepartmentDTO","name":"Department","description":"Department Data","objectType":"dto","module":"shared"}}}},"responses":{"200":{"description":"Updated Department","content":{"application/json":{"schema":{"type":"DepartmentDTO","objectType":"dto","name":"data","collectionType":"none","module":"shared"}}}}},"pathVariables":[{"type":"integer","name":"id","description":"ID of the Department","isRequired":true}]},{"actionName":"deleteDepartment","path":"departments/{id}","method":"DELETE","responses":{"204":{"content":{"":{"schema":{"type":"string","name":"data","collectionType":"none"}}}}},"pathVariables":[{"type":"integer","name":"id","description":"ID of the Department","isRequired":true}]}],"id":"u2pwso5tbi-CONTROLLER-CONTROLLER-CONTROLLER-CONTROLLER-CONTROLLER"}
1+
{"type":"controller","name":"Department","module":"department","description":"postDepartment","basePath":"api","actions":[{"actionName":"postDepartment","path":"department","method":"POST","requestBody":{"content":{"application/json":{"schema":{"type":"Department","name":"Department","isRequired":true,"objectType":"dto","module":"shared"}}}},"responses":{"201":{"name":"OK","content":{"application/json":{"schema":{"type":"DepartmentDTO","objectType":"dto","name":"data","collectionType":"none","module":"shared"}}}}}},{"actionName":"getDepartments","path":"departments","method":"GET","responses":{"200":{"description":"List of Departments","content":{"application/json":{"schema":{"type":"DepartmentDTO","name":"data","collectionType":"list"}}}}},"requestParams":[{"type":"integer","name":"applicationId","description":"Application ID","isRequired":false},{"type":"string","name":"applicationCode","description":"Application Code","isRequired":false},{"type":"integer","name":"parentId","description":"Parent Department ID","isRequired":false},{"type":"string","name":"name","description":"Department Name","isRequired":false},{"type":"string","name":"status","description":"Department Status","isRequired":false},{"type":"string","name":"code","description":"Department Code","isRequired":false}]},{"actionName":"getDepartmentById","path":"departments/{id}","method":"GET","responses":{"200":{"description":"Department Data","content":{"application/json":{"schema":{"type":"DepartmentDTO","objectType":"dto","name":"data","collectionType":"none","module":"shared"}}}}},"pathVariables":[{"type":"integer","name":"id","description":"ID of the Department","isRequired":true}]},{"actionName":"updateDepartment","path":"departments/{id}","method":"PUT","requestBody":{"content":{"application/json":{"schema":{"type":"DepartmentDTO","name":"Department","description":"Department Data","objectType":"dto","module":"shared"}}}},"responses":{"200":{"description":"Updated Department","content":{"application/json":{"schema":{"type":"DepartmentDTO","objectType":"dto","name":"data","collectionType":"none","module":"shared"}}}}},"pathVariables":[{"type":"integer","name":"id","description":"ID of the Department","isRequired":true}]},{"actionName":"deleteDepartment","path":"departments/{id}","method":"DELETE","responses":{"204":{"content":{"":{"schema":{"type":"string","name":"data","collectionType":"none"}}}}},"pathVariables":[{"type":"integer","name":"id","description":"ID of the Department","isRequired":true}]}],"id":"u2pwso5tbi-CONTROLLER-CONTROLLER-CONTROLLER-CONTROLLER-CONTROLLER"}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"type":"controller","name":"Menu","module":"menu","description":"Menu Management","basePath":"api","actions":[{"actionName":"getMenus","path":"menus","method":"GET","responses":{"200":{"description":"The List of the Menus","content":{"application/json":{"schema":{"type":"MenuEntryDTO","objectType":"dto","name":"data","collectionType":"list","module":"menu"}}}}},"requestParams":[{"type":"integer","name":"applicationId","description":"ID of the Application","isRequired":false},{"type":"string","name":"name","description":"Menu Name","isRequired":false},{"type":"string","name":"type","description":"Menu Type","isRequired":false},{"type":"string","name":"status","description":"Menu Status","isRequired":false}]},{"actionName":"getMenuById","path":"menus/{id}","method":"GET","responses":{"200":{"description":"The Menu Data","content":{"application/json":{"schema":{"type":"MenuEntryDTO","name":"data","collectionType":"none"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"The ID of Menu"}]},{"actionName":"createMenu","path":"menus","method":"POST","requestBody":{"content":{"application/json":{"schema":{"type":"MenuEntryDTO","name":"menuEntry","objectType":"dto","module":"menu","description":"The Menu Entry Data"}}}},"responses":{"201":{"description":"The Persisted Menu","content":{"application/json":{"schema":{"type":"MenuEntryDTO","name":"data","collectionType":"none"}}}}}},{"actionName":"updateMenu","path":"menus/{id}","method":"PUT","requestBody":{"content":{"application/json":{"schema":{"type":"MenuEntryDTO","name":"undefined","objectType":"dto","module":"menu","description":"The Menu Data"}}}},"responses":{"200":{"description":"The Updated Menu","content":{"application/json":{"schema":{"type":"MenuEntryDTO","name":"data","collectionType":"none"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"The ID of the Menu"}]},{"actionName":"deleteMenu","path":"menus/{id}","method":"DELETE","responses":{"204":{"description":"No Content","content":{"application/json":{"schema":{"type":"string","name":"data","collectionType":"none"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"The ID of the Menu"}]}],"id":"tw5fo7aoed-CONTROLLER-CONTROLLER-CONTROLLER-CONTROLLER"}
1+
{"type":"controller","name":"Menu","module":"menu","description":"Menu Management","basePath":"api","actions":[{"actionName":"getMenus","path":"menus","method":"GET","responses":{"200":{"description":"The List of the Menus","content":{"application/json":{"schema":{"type":"MenuEntryDTO","objectType":"dto","name":"data","collectionType":"list","module":"menu"}}}}},"requestParams":[{"type":"integer","name":"applicationId","description":"ID of the Application","isRequired":false},{"type":"string","name":"name","description":"Menu Name","isRequired":false},{"type":"string","name":"type","description":"Menu Type","isRequired":false},{"type":"string","name":"status","description":"Menu Status","isRequired":false},{"type":"string","name":"applicationCode","description":"Application Code","isRequired":false}]},{"actionName":"getMenuById","path":"menus/{id}","method":"GET","responses":{"200":{"description":"The Menu Data","content":{"application/json":{"schema":{"type":"MenuEntryDTO","name":"data","collectionType":"none"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"The ID of Menu"}]},{"actionName":"createMenu","path":"menus","method":"POST","requestBody":{"content":{"application/json":{"schema":{"type":"MenuEntryDTO","name":"menuEntry","objectType":"dto","module":"menu","description":"The Menu Entry Data"}}}},"responses":{"201":{"description":"The Persisted Menu","content":{"application/json":{"schema":{"type":"MenuEntryDTO","name":"data","collectionType":"none"}}}}}},{"actionName":"updateMenu","path":"menus/{id}","method":"PUT","requestBody":{"content":{"application/json":{"schema":{"type":"MenuEntryDTO","name":"undefined","objectType":"dto","module":"menu","description":"The Menu Data"}}}},"responses":{"200":{"description":"The Updated Menu","content":{"application/json":{"schema":{"type":"MenuEntryDTO","name":"data","collectionType":"none"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"The ID of the Menu"}]},{"actionName":"deleteMenu","path":"menus/{id}","method":"DELETE","responses":{"204":{"description":"No Content","content":{"application/json":{"schema":{"type":"string","name":"data","collectionType":"none"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"The ID of the Menu"}]}],"id":"tw5fo7aoed-CONTROLLER-CONTROLLER-CONTROLLER-CONTROLLER"}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"type":"controller","name":"Permissions","module":"permission","description":"Permission Management","basePath":"api","actions":[{"actionName":"createPermission","path":"permissions","method":"POST","requestBody":{"content":{"application/json":{"schema":{"type":"PermissionDTO","name":"CreatePermission","description":"Create Permission","objectType":"dto","module":"shared"}}}},"responses":{"201":{"name":"CREATED","content":{"application/json":{"schema":{"type":"PermissionDTO","objectType":"dto","name":"data","collectionType":"none","module":"shared"}}}}}},{"actionName":"getPermissionByApplicationId","path":"permissions","method":"GET","responses":{"200":{"name":"OK","content":{"application/json":{"schema":{"type":"PermissionDTO","objectType":"dto","name":"data","collectionType":"list","module":"shared"}}}}},"requestParams":[{"type":"integer","name":"applicationId","description":"Application ID","isRequired":true}]},{"actionName":"getPermissionByID","path":"permissions/{id}","method":"GET","responses":{"200":{"name":"OK","content":{"application/json":{"schema":{"type":"PermissionDTO","objectType":"dto","name":"data","collectionType":"none","module":"shared"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"Permission ID"}]},{"actionName":"updatePermission","path":"permissions/{id}","method":"PUT","requestBody":{"content":{"application/json":{"schema":{"type":"PermissionDTO","name":"UpdatePermissions","description":"Update Permissions Request","objectType":"dto","module":"permission","isRequired":true}}}},"responses":{"200":{"name":"OK","content":{"application/json":{"schema":{"type":"PermissionDTO","objectType":"dto","name":"data","collectionType":"none","module":"shared"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"Permission ID"}]},{"actionName":"deletePermission","path":"permissions/{id}","method":"DELETE","responses":{"204":{"name":"OK","content":{"application/json":{"schema":{"type":"boolean","name":"data","collectionType":"none"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"Permission ID"}]},{"actionName":"getRolesByPermissionID","path":"permissions/{id}/roles","method":"GET","responses":{"200":{"name":"OK","content":{"application/json":{"schema":{"type":"RoleDTO","name":"data","collectionType":"list"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"Role ID"}]}],"id":"faon6pyr23-CONTROLLER-CONTROLLER-CONTROLLER-CONTROLLER-CONTROLLER-CONTROLLER"}
1+
{"type":"controller","name":"Permissions","module":"permission","description":"Permission Management","basePath":"api","actions":[{"actionName":"createPermission","path":"permissions","method":"POST","requestBody":{"content":{"application/json":{"schema":{"type":"PermissionDTO","name":"CreatePermission","description":"Create Permission","objectType":"dto","module":"shared","collectionType":"none"}}}},"responses":{"201":{"name":"CREATED","content":{"application/json":{"schema":{"type":"PermissionDTO","objectType":"dto","name":"data","collectionType":"none","module":"shared"}}}}}},{"actionName":"getPermissionByID","path":"permissions/{id}","method":"GET","responses":{"200":{"name":"OK","content":{"application/json":{"schema":{"type":"PermissionDTO","objectType":"dto","name":"data","collectionType":"none","module":"shared"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"Permission ID"}]},{"actionName":"updatePermission","path":"permissions/{id}","method":"PUT","requestBody":{"content":{"application/json":{"schema":{"type":"PermissionDTO","name":"CreatePermission","description":"Create Permission","objectType":"dto","module":"shared","collectionType":"none"}}}},"responses":{"200":{"name":"OK","content":{"application/json":{"schema":{"type":"PermissionDTO","objectType":"dto","name":"data","collectionType":"none","module":"shared"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"Permission ID"}]},{"actionName":"deletePermission","path":"permissions/{id}","method":"DELETE","responses":{"204":{"name":"OK","content":{"application/json":{"schema":{"type":"boolean","name":"data","collectionType":"none"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"Permission ID"}]},{"actionName":"getRolesByPermissionID","path":"permissions/{id}/roles","method":"GET","responses":{"200":{"name":"OK","content":{"application/json":{"schema":{"type":"RoleDTO","objectType":"dto","name":"data","collectionType":"list","module":"shared"}}}}},"pathVariables":[{"name":"id","type":"integer","isRequired":true,"description":"Role ID"}]},{"actionName":"getPermissionByApplicationId","path":"permissions","method":"GET","responses":{"200":{"name":"OK","content":{"application/json":{"schema":{"type":"PermissionDTO","objectType":"dto","name":"data","collectionType":"list","module":"shared"}}}}},"requestParams":[{"type":"integer","name":"applicationId","description":"Application ID","isRequired":false},{"type":"string","name":"applicationCode","description":"Application Code","isRequired":false}]}],"id":"faon6pyr23-CONTROLLER-CONTROLLER-CONTROLLER-CONTROLLER-CONTROLLER-CONTROLLER"}

0 commit comments

Comments
 (0)