diff --git a/content/notes/wwdc23/10171.md b/content/notes/wwdc23/10171.md index 238a7446..e4c52f11 100644 --- a/content/notes/wwdc23/10171.md +++ b/content/notes/wwdc23/10171.md @@ -18,7 +18,7 @@ contributors: Jeehut - Tried-and-tested Industry-standard - You declare your API in YAML or JSON - Rich ecosystem of tooling -- Known for interdactive doucmentation +- Known for interactive documentation - Core motivation is code generation - Without OpenAPI, creating query & interpreting the response can be complex - Working with larger APIs detracts from the core logic of the app @@ -78,9 +78,9 @@ case .ok(let response): ## Making API calls from your app -- To use OpenAPI Generator, add package to your app from `https://github.com/apple-swift-openapi-generator` -- Next, add also the package from `https://github.com/swift-openapi-runtime` to your app -- Lastly, add also the package from `https://github.com/swift-openapi-urlsession` for the code to be generated for `URLSession` +- To use OpenAPI Generator, add package to your app from `https://github.com/apple/swift-openapi-generator` +- Next, add also the package from `https://github.com/apple/swift-openapi-runtime` to your app +- Lastly, add also the package from `https://github.com/apple/swift-openapi-urlsession` for the code to be generated for `URLSession` - In "Build Phases", in the "Run Build Tool Plug-Ins", add `OpenAPIGenerator` ![][build-tool-plugins]