I'm working on a project where we deal with multiple Spring Boot microservices and one Angular front end application. We are using OpenAPI to generate some code for us (Java classes for the back end, TypeScript files for the front). But we have an issue. In API A and API B, we have some common components. Let's say we have a component ContactInfo like this, in both API: When we generate the TypeScript files, we end up with a contactInfo.ts from API A and a contactInfo.ts from API B. That does not sound like a good practice. But how could we deal with that? Having only one API for both microservices? Continue reading...