Skip to content

Commit

Permalink
More small fixes to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradoClark committed Feb 23, 2021
1 parent 5f4243d commit 8655004
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -144,8 +144,7 @@ Task<Product> GetProduct(int productId);
Adding a refit client is just as simple (use the **StartupExtender** for that):

```c#
services.AddRefitClient<IProductRepository>()
.ConfigureHttpClient(VtexHttpClient.Configure);
services.AddRefitClient<IProductRepository>().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.
Expand Down

0 comments on commit 8655004

Please sign in to comment.