Skip to content

Commit 8063943

Browse files
committed
update README.md
1 parent 7a4d92c commit 8063943

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed
Binary file not shown.

CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
# Changelog 📝
22

3-
|Release Version|0.1.1|
4-
|---|---|
5-
|Relative Date|![Relative date](https://img.shields.io/date/1671007936)|
3+
![Relative date](https://img.shields.io/date/1671068209)
4+
|Release|0.1.1|
5+
|:---|:---|
66
|Added|N/A|
77
|Fixed|Fix struct the `Router` parameter for get `URLRequest` #5 by @devyhan <br/> Fix the public scope of the `Param` components of `BodyBuilder` #3 by @devyhan|
88
|Changed|N/A|
99
|Removed|N/A|
1010

1111
---
1212

13-
|Release Version|0.1.0|
14-
|---|---|
15-
|Relative Date|![Relative date](https://img.shields.io/date/1670996156)|
13+
![Relative date](https://img.shields.io/date/1670996156)
14+
|Release|0.1.0|
15+
|:---|:---|
1616
|Added|N/A|
1717
|Fixed|N/A|
1818
|Changed|N/A|
1919
|Removed|N/A|
2020

2121
---
2222

23-
**EOF**
23+
### *[Currenly Release Info](https://github.com/devyhan/APIRouter/releases)*

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Additionally, it provides a way to track the status of each endpoint and to easi
1919

2020
Similar to Swift Evolution's [Regex builder DSL](https://github.com/apple/swift-evolution/blob/main/proposals/0351-regex-builder.md), URL string literal and a more powerful pattern result builder to help make Swift URL string processing fast and easy and without mistakes. Ultimately, with ***APIRouter***, changes are easy to detect and useful for maintenance.
2121

22+
🤔 *Ask questions you’re wondering about [here](https://github.com/devyhan/APIRouter/discussions/new?category=q-a).*<br/>
23+
💡 *Share ideas [here](https://github.com/devyhan/APIRouter/discussions/new).*
24+
2225
## Installation 📦
2326
- Using [Swift Package Manager](https://swift.org/package-manager)
2427

@@ -236,13 +239,13 @@ enum APIs: RouterProtocol {
236239
}
237240

238241
// http://api.github.com/orgs/organization/repos
239-
let listOrganizationRepositoriesUrl = APIs.listOrganizationRepositories(organizationName: "organization").request.urlRequest?.url
242+
let listOrganizationRepositoriesUrl = APIs.listOrganizationRepositories(organizationName: "organization").router?.urlRequest?.url
240243

241244
// http://api.github.com/search/repositories?q=apirouter
242-
let searchRepositoriesUrl = APIs.searchRepositories(query: "apirouter").request.urlRequest?.url
245+
let searchRepositoriesUrl = APIs.searchRepositories(query: "apirouter").router?.urlRequest?.url
243246

244247
let repositoryInfo: APIs.RepositoryInfo = .init(name: "Hello-World", description: "This is your first repository", homePage: "https://github.com", private: false, hasIssues: true, hasProjects: true, hasWiki: false)
245-
let request = APIs.createAnOrganizationRepository(organizationName: "SomeOrganization", repositoryInfo: repositoryInfo).request.urlRequest
248+
let request = APIs.createAnOrganizationRepository(organizationName: "SomeOrganization", repositoryInfo: repositoryInfo).router?.urlRequest
246249

247250
URLSession.shared.dataTask(with: request) { data, response, error in
248251
...

0 commit comments

Comments
 (0)