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
170
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.3k
Hacking Facial Recognition With Beards
dokun1
0
260
The Maturation of Swift
dokun1
0
230
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
290
IBM & Server Side Swift - Making Your Mobile Developers Full Stack
dokun1
3
390
AVFoundation, iOS 11 & Lumina
dokun1
0
410
Focus on your Functions with Serverless Swift
dokun1
0
190
Developing Applications End To End In Swift On The Cloud
dokun1
0
110
Kitura - What's Next?
dokun1
0
170
Other Decks in Programming
See All in Programming
Passkeys for Java Developers
ynojima
2
820
コード書くの好きな人向けAIコーディング活用tips #orestudy
77web
3
270
単体テストの始め方/作り方
toms74209200
0
390
GoのWebAssembly活用パターン紹介
syumai
3
8k
The Evolution of Enterprise Java with Jakarta EE 11 and Beyond
ivargrimstad
1
480
Perplexity Slack Botを作ってAI活用を進めた話 / AI Engineering Summit プレイベント
n3xem
0
590
FastMCPでMCPサーバー/クライアントを構築してみる
ttnyt8701
2
130
関数型まつり2025登壇資料「関数プログラミングと再帰」
taisontsukada
2
710
Cloudflare Realtime と Workers でつくるサーバーレス WebRTC
nekoya3
0
370
複数アプリケーションを育てていくための共通化戦略
irof
9
3.6k
FormFlow - Build Stunning Multistep Forms
yceruto
1
140
統一感のある Go コードを生成 AI の力で手にいれる
otakakot
0
2.6k
Featured
See All Featured
Speed Design
sergeychernyshev
30
980
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Six Lessons from altMBA
skipperchong
28
3.8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Navigating Team Friction
lara
186
15k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
640
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.3k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
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
!