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
270
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
420
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
型で語るカタ
irof
0
800
The Evolution of Enterprise Java with Jakarta EE 11 and Beyond
ivargrimstad
0
450
リッチエディターを安全に開発・運用するために
unachang113
1
230
はじめてのWeb API体験 ー 飲食店検索アプリを作ろうー
akinko_0915
0
160
Caude codeで爆速開発
codelynx
0
100
Workers を定期実行する方法は一つじゃない
rokuosan
0
130
20250704_教育事業におけるアジャイルなデータ基盤構築
hanon52_
5
1.2k
猫と暮らす Google Nest Cam生活🐈 / WebRTC with Google Nest Cam
yutailang0119
0
180
Vibe Codingの幻想を超えて-生成AIを現場で使えるようにするまでの泥臭い話.ai
fumiyakume
18
9.1k
SwiftでMCPサーバーを作ろう!
giginet
PRO
2
190
「次に何を学べばいいか分からない」あなたへ──若手エンジニアのための学習地図
panda_program
3
630
新メンバーも今日から大活躍!SREが支えるスケールし続ける組織のオンボーディング
honmarkhunt
5
9.3k
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
53
7.7k
Bash Introduction
62gerente
613
210k
Why Our Code Smells
bkeepers
PRO
337
57k
4 Signs Your Business is Dying
shpigford
184
22k
Navigating Team Friction
lara
187
15k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
How to Ace a Technical Interview
jacobian
278
23k
It's Worth the Effort
3n
185
28k
The Invisible Side of Design
smashingmag
301
51k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
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
!