Open Closed

REST API end-points not forming correctly #1463


0
Neozzz created

The FileAppService is as shown below:

The IFileAppService is as shown below:

The File APIs formed are as shown below:

What might be the reason why the id fields shown before the name of the entity? Please let me know if I am missing something.

Thank you


1 Answer(s)
  • 0
    EngincanV created
    Support Team

    Hi @Neozzz, as stated here if you add an app service method named GetDocumentAsync it will calculates as /api/app/file/{id}/document but if you would specified it like GetAsync it would have transformed it into /api/app/file/{id}.

    • If you want to customize your route calculation, you can check here.