Introduction

In general, we’re used to exposing APIs via annotated controllers like this:

Java

 

@GetMapping(“/products”)
public Flux<ProductDto> allProducts() {
return this.productService.getAllProducts();
}

Leave a Reply

Your email address will not be published. Required fields are marked *