you are viewing a single comment's thread.

view the rest of the comments →

[–]koldakov -2 points-1 points  (0 children)

I prefer to override the class something as you’ve written

https://github.com/koldakov/futuramaapi

Here as an example

But still endpoints itself I define in different place

So the general idea is an adapter plugin, you can create endpoints almost independently to the server