From 8655004eaf660202e035d41d38d3840eab502155 Mon Sep 17 00:00:00 2001 From: ConradoClark Date: Tue, 23 Feb 2021 18:37:28 -0300 Subject: [PATCH] More small fixes to README.md --- docs/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/README.md b/docs/README.md index 91b88b3..2836a38 100644 --- a/docs/README.md +++ b/docs/README.md @@ -7,7 +7,7 @@ We're also using [Refit](https://github.com/reactiveui/refit) as an automatic re [NUnit](https://nunit.org) and [Moq](https://github.com/moq/moq) are being used for unit testing. -##Table of Contents +## Table of Contents 1. [Getting Started](#getting-started) 2. [Project Structure](#project-structure) 3. [The Manifest and Service Files](#the-manifest-and-service-files) @@ -144,8 +144,7 @@ Task GetProduct(int productId); Adding a refit client is just as simple (use the **StartupExtender** for that): ```c# -services.AddRefitClient() - .ConfigureHttpClient(VtexHttpClient.Configure); +services.AddRefitClient().ConfigureHttpClient(VtexHttpClient.Configure); ``` Speaking of which, the `StartupExtender` class is used to build on top of the default Startup process enveloped by the `dotnet` builder. Exceptionally, its namespace must be `Vtex`or it won't work.