Skip to main content

13 docs tagged with "Code Generation"

View All Tags

Create your first HelloWorld API

In this ‘Getting Started’ session, you will experience first-hand how convenient it is to build microservices with . For this purpose, you will implement and deploy a service with a Hello World API.

Define Entity Mapping (Java)

When working with Domain services mapping between api namespace and domain namespace is often needed, for example :

Define Unit Tests (Java)

You already have an existing Java Domain service, you want to include unit testing for that service.

Define Unit Tests (TypeScript)

You want to write unit tests without having access to all of the infrastructure which can be achieved by mocking which is described here in this How-To.

Implement Error Handling for APIs

You have designed API operations with more than just one resoponse to cover both the success and error case. In your implementation code you want to return a specific response body if an error happens.

Use External Entities

An External Entity is considered a proxy of an entity that is managed by another microservice. Normally, the external entity contains only the most important data that is regularly needed in the context of the aggregate to which the external entity belongs. Because of these specifics, it is handled differently than a usual Entity.