Nice feature would be possibility to rewrite default urls of main and related models.
Example:
for main models like
/api/accessTokens to /api/access-tokens
or for related models like
/api/users/{id}/bankAccount to /api/users/{id}/bank-account
There should be setting like url for a model in models.json and also as a paramater options when creating or extending a model. There is option in models.json config called plurals, but would be good to have separate settings to set custom url for model/related models and endpoints ( custom routing ).
Nice feature would be possibility to rewrite default urls of main and related models.
Example:
for main models like
/api/accessTokens to /api/access-tokens
or for related models like
/api/users/{id}/bankAccount to /api/users/{id}/bank-account
There should be setting like url for a model in models.json and also as a paramater options when creating or extending a model. There is option in models.json config called plurals, but would be good to have separate settings to set custom url for model/related models and endpoints ( custom routing ).