diff --git a/.swiftpm/xcode/package.xcworkspace/xcuserdata/ijaewon.xcuserdatad/UserInterfaceState.xcuserstate b/.swiftpm/xcode/package.xcworkspace/xcuserdata/ijaewon.xcuserdatad/UserInterfaceState.xcuserstate index e0279dc..6ec3aff 100644 Binary files a/.swiftpm/xcode/package.xcworkspace/xcuserdata/ijaewon.xcuserdatad/UserInterfaceState.xcuserstate and b/.swiftpm/xcode/package.xcworkspace/xcuserdata/ijaewon.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e0ddff..23113d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Changelog πŸ“ -|Release Version|0.1.1| -|---|---| -|Relative Date|![Relative date](https://img.shields.io/date/1671007936)| +![Relative date](https://img.shields.io/date/1671068209) +|Release|0.1.1| +|:---|:---| |Added|N/A| |Fixed|Fix struct the `Router` parameter for get `URLRequest` #5 by @devyhan
Fix the public scope of the `Param` components of `BodyBuilder` #3 by @devyhan| |Changed|N/A| @@ -10,9 +10,9 @@ --- -|Release Version|0.1.0| -|---|---| -|Relative Date|![Relative date](https://img.shields.io/date/1670996156)| +![Relative date](https://img.shields.io/date/1670996156) +|Release|0.1.0| +|:---|:---| |Added|N/A| |Fixed|N/A| |Changed|N/A| @@ -20,4 +20,4 @@ --- -**EOF** \ No newline at end of file +### *[Currenly Release Info](https://github.com/devyhan/APIRouter/releases)* \ No newline at end of file diff --git a/README.md b/README.md index e9bd185..b313ed6 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,9 @@ Additionally, it provides a way to track the status of each endpoint and to easi 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. +πŸ€” *Ask questions you’re wondering about [here](https://github.com/devyhan/APIRouter/discussions/new?category=q-a).*
+πŸ’‘ *Share ideas [here](https://github.com/devyhan/APIRouter/discussions/new).* + ## Installation πŸ“¦ - Using [Swift Package Manager](https://swift.org/package-manager) @@ -236,13 +239,13 @@ enum APIs: RouterProtocol { } // http://api.github.com/orgs/organization/repos -let listOrganizationRepositoriesUrl = APIs.listOrganizationRepositories(organizationName: "organization").request.urlRequest?.url +let listOrganizationRepositoriesUrl = APIs.listOrganizationRepositories(organizationName: "organization").router?.urlRequest?.url // http://api.github.com/search/repositories?q=apirouter -let searchRepositoriesUrl = APIs.searchRepositories(query: "apirouter").request.urlRequest?.url +let searchRepositoriesUrl = APIs.searchRepositories(query: "apirouter").router?.urlRequest?.url 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) -let request = APIs.createAnOrganizationRepository(organizationName: "SomeOrganization", repositoryInfo: repositoryInfo).request.urlRequest +let request = APIs.createAnOrganizationRepository(organizationName: "SomeOrganization", repositoryInfo: repositoryInfo).router?.urlRequest URLSession.shared.dataTask(with: request) { data, response, error in ...