API design best practices

Stop exposing your domain models

Returning only the necessary data to your API clients

Andre Lopes
Checkout.com-techblog
3 min readMay 10, 2022
Photo by Clément Hélardot on Unsplash

Hi, multicellular organisms!

Today I want to talk about a very important topic regarding API designs. To not expose your domain models or your entities in your API endpoints.

--

--

Andre Lopes
Checkout.com-techblog

Full-stack developer | Casual gamer | Clean Architecture passionate