Skip to content

Commit

Permalink
1.27.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dankinsoid committed Jun 18, 2024
1 parent ab58f62 commit a449d1e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- [`APIClient.Configs`](#apiclientconfigs)
- [Configs Modifications Order](#configs-modifications-order)
- [Macros](#macros-1)
- [URL and URLComponents Extensions](#url-and-urlcomponents-extensions)
- [Introducing `swift-api-client-addons`](#introducing-swift-api-client-addons)
- [Installation](#installation)
- [Author](#author)
Expand Down Expand Up @@ -322,6 +323,20 @@ struct Pet {
```
Macros are not necessary for using `swift-api-client`; they are just syntax sugar.

Sure, here is a concise section for your README that demonstrates the most convenient methods provided by your extensions:

## URL and URLComponents Extensions

These extensions provide convenient methods for configuring URLs and URLComponents, offering a fluent interface for setting path components, query parameters, and other URL components.

```swift
let url = URL(string: "https://example.com")!
.path("path1", "path2")
.query("key1", 1)
```

These extensions simplify and streamline your URL building and modification processes in Swift.

## Introducing `swift-api-client-addons`

To enhance your experience with `swift-api-client`, I'm excited to introduce [`swift-api-client-addons`](https://github.com/dankinsoid/swift-api-client-addons)
Expand Down

0 comments on commit a449d1e

Please sign in to comment.