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
210
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
290
The Maturation of Swift
dokun1
0
250
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
340
IBM & Server Side Swift - Making Your Mobile Developers Full Stack
dokun1
3
410
AVFoundation, iOS 11 & Lumina
dokun1
0
510
Focus on your Functions with Serverless Swift
dokun1
0
210
Developing Applications End To End In Swift On The Cloud
dokun1
0
150
Kitura - What's Next?
dokun1
0
190
Other Decks in Programming
See All in Programming
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
400
AI時代の認知負荷との向き合い方
optfit
0
140
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
440
Grafana:建立系統全知視角的捷徑
blueswen
0
320
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
170
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
440
AtCoder Conference 2025
shindannin
0
1k
AI巻き込み型コードレビューのススメ
nealle
0
100
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
AgentCoreとHuman in the Loop
har1101
5
220
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
3
280
Architectural Extensions
denyspoltorak
0
270
Featured
See All Featured
Balancing Empowerment & Direction
lara
5
880
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
Odyssey Design
rkendrick25
PRO
1
490
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
HDC tutorial
michielstock
1
360
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
64
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
110
We Are The Robots
honzajavorek
0
160
Utilizing Notion as your number one productivity tool
mfonobong
2
210
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
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
!