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
160
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.2k
Hacking Facial Recognition With Beards
dokun1
0
250
The Maturation of Swift
dokun1
0
220
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
280
IBM & Server Side Swift - Making Your Mobile Developers Full Stack
dokun1
3
380
AVFoundation, iOS 11 & Lumina
dokun1
0
390
Focus on your Functions with Serverless Swift
dokun1
0
180
Developing Applications End To End In Swift On The Cloud
dokun1
0
100
Kitura - What's Next?
dokun1
0
160
Other Decks in Programming
See All in Programming
Enterprise Web App. Development (1): Build Tool Training Ver. 5
knakagawa
1
120
今話題のMCPサーバーをFastAPIでサッと作ってみた
yuukis
0
110
状態と共に暮らす:ステートフルへの挑戦
ypresto
3
1.1k
MySQL初心者が311個のカラムにNot NULL制約を追加していってALTER TABLEについて学んだ話
hatsu38
2
100
カウシェで Four Keys の改善を試みた理由
ike002jp
1
120
fieldalignmentから見るGoの構造体
kuro_kurorrr
0
130
ぽちぽち選択するだけでOSSを読めるVSCode拡張機能
ymbigo
1
600
プロダクトエンジニアのしごと 〜 受託 × 高難度を乗り越えるOptium開発 〜
algoartis
0
170
iOSアプリで測る!名古屋駅までの 方向と距離
ryunakayama
0
150
AI時代の開発者評価について
ayumuu
0
230
KANNA Android の技術的課題と取り組み
watabee
0
190
AIコーディングエージェントを 「使いこなす」ための実践知と現在地 in ログラス / How to Use AI Coding Agent in Loglass
rkaga
4
1.2k
Featured
See All Featured
Building an army of robots
kneath
305
45k
Side Projects
sachag
453
42k
Visualization
eitanlees
146
16k
The Pragmatic Product Professional
lauravandoore
33
6.6k
We Have a Design System, Now What?
morganepeng
52
7.5k
KATA
mclloyd
29
14k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.4k
4 Signs Your Business is Dying
shpigford
183
22k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Making the Leap to Tech Lead
cromwellryan
133
9.2k
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
!