Skip to content

Commit 74b6dfa

Browse files
docs : (README.md) Fixing documentation
1 parent 236c416 commit 74b6dfa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,10 @@ new RequestBuilder("https://toto.com", endpoint);
148148
or with `VersionedEndpoint` class :
149149

150150
```csharp
151-
VersionedEndpoint endpoint = new VersionedEndpoint("/{apiVersion}/users", Method.Get, "v1.0");
152-
new RequestBuilder("https://toto.com", endpoint);
151+
VersionedEndpoint endpoint = new VersionedEndpoint("/users", Method.Get, "v1.0");
152+
new RequestBuilder("https://toto.com/api", endpoint); // Will result in "https://toto.com/api/v1.0/users"
153153
```
154154

155-
> :information_source: You can override api version parameter key by changing RequestBuilder.ApiVersionKey static property.
156155

157156
### Configure URI parameters
158157

0 commit comments

Comments
 (0)