@Post("/blogs")
    @RequestConverter(BlogPostRequestConverter.class)
    public HttpResponse createBlogPost(BlogPost blogPost) {
        // Use a map to store the blog. In real world, you should use a database.
        blogPosts.put(blogPost.getId(), blogPost);

        // Send the created blog post as the response.
        // We can add additional property such as a url of
        // the created blog post.(e.g. "http://tutorial.com/blogs/0") to respect the Rest API.
        return HttpResponse.ofJson(blogPost);
    }
Creates a {@link BlogPost} from an {@link HttpRequest}. The {@link HttpRequest} is
converted into {@link BlogPost} by the {@link BlogPostRequestConverter}.
examples/tutorials/rest-api-annotated-service/src/main/java/example/armeria/server/blog/BlogService.java