Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Generating Swift Code with the OpenAPI Spec
Search
David Okun
September 30, 2017
Programming
0
120
Generating Swift Code with the OpenAPI Spec
My talk at Swift Cloud Workshop 2 about generating Swift SDKs based on a Web API Specification
David Okun
September 30, 2017
Tweet
Share
More Decks by David Okun
See All by David Okun
Building A Social Network In Swift
dokun1
4
3.1k
Hacking Facial Recognition With Beards
dokun1
0
230
The Maturation of Swift
dokun1
0
190
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
230
IBM & Server Side Swift - Making Your Mobile Developers Full Stack
dokun1
3
360
AVFoundation, iOS 11 & Lumina
dokun1
0
280
Focus on your Functions with Serverless Swift
dokun1
0
150
Developing Applications End To End In Swift On The Cloud
dokun1
0
63
Kitura - What's Next?
dokun1
0
130
Other Decks in Programming
See All in Programming
Scala におけるコンパイラエラーとの付き合い方
chencmd
2
360
マイグレーションコード自作して File-Based Routing に自動移行!! ~250 ページの歴史的経緯を添えて~
cut0
1
250
【TID2024】模擬講義:プログラマと一緒にゲームをデザインしてみよう!
akatsukigames_tech
0
450
現代のVueとTypeScript - 型安全の活用術
minako__ph
4
3.1k
Ebitengineの1vs1ゲーム WebRTCの活用
ponyo877
0
360
Scala アプリケーションのビルドを改善してデプロイ時間を 1/4 にした話 | How I improved the build of my Scala application and reduced deployment time by 4x
nomadblacky
1
130
RAGの回答精度評価用のQAデータセットを生成AIに作らせた話
kurahara
0
230
Hono・Prisma・AWSでGeoなAPI開発
nokonoko1203
5
630
開発を加速する共有Swift Package実践
elmetal
PRO
0
360
Why Prism?
kddnewton
4
1.5k
仮想ファイルシステムを導入して開発環境のストレージ課題を解消する
segadevtech
2
450
マルチモジュールにおけるテスト最適化
fxwx23
0
190
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
125
16k
Faster Mobile Websites
deanohume
304
30k
Docker and Python
trallard
39
3k
Agile that works and the tools we love
rasmusluckow
327
20k
Building Flexible Design Systems
yeseniaperezcruz
324
37k
Atom: Resistance is Futile
akmur
261
25k
Become a Pro
speakerdeck
PRO
22
4.9k
Building Adaptive Systems
keathley
36
2.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
27
8.9k
Embracing the Ebb and Flow
colly
83
4.4k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
45
4.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
22
1.7k
Transcript
Generating Swift Code Using the OpenAPI Spec By David Okun
@dokun24
What we'll cover today • Wait, why is he talking
about Node.js? • Oh, you can do that in Swift too? • WHY U DO DIS • HOW U DO DIS • References
LoopBack Generate a Web API from the command line
LoopBack Generate a Web API from the command line Ya,
rly.
The Open API Spec An easy way to define a
Web API with one file
The Open API Spec An easy way to define a
Web API with one file Yes, even a Swift Web API.
None
npm install -g loopback-cli
lb
lb model
lb export-api-def
bx plugin install sdk-gen -r Bluemix
bx sdk generate --swift -f ./Definition.yml
bx dev create
DEMO TIME
The Slide You Want A Photo Of • https://strongloop.com/strongblog/generate-client-sdk- loopback-bluemix-cli
• https://console.bluemix.net/docs/cli/index.html • https://github.com/swagger-api/swagger-codegen • https://console.bluemix.net/docs/cloudnative/ dev_cli.html#developercli
Absolutely Shameless Self Promotion • https://github.com/IBM/loopback-in-five • https://github.com/dokun1/Lumina • @dokun24
!