Having the following structure:
/app
|____/config/
|____endpoints.json
|____/endpoints/
|
|____/module1/
| |____contacts.json
| |____agendas.json
|
|____/module2/
| |____users.json
| |____permissions.json
|
|____module1.json
|____module2.json
I want to know if this is possible:
# endpoints.json
{
"includes": [
"endpoints/module1.json",
"endpoints/module2.json"
]
}
# endpoints/module1.json
{
"includes": [
"module1/contacts.json",
"module1/agendas.json"
]
}
# endpoints/module2.json
{
"includes": [
"module2/users.json",
"module2/permissions.json"
]
}
# endpoints/module1/contacts.json
{
"services": {
"contacts": {
# ... service description here
}
}
}
I woulud like to organize multiple service definitions following the described folder structure. Is it possible?