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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
300
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
520
Focus on your Functions with Serverless Swift
dokun1
0
220
Developing Applications End To End In Swift On The Cloud
dokun1
0
160
Kitura - What's Next?
dokun1
0
190
Other Decks in Programming
See All in Programming
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
5
390
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
390
CSC307 Lecture 14
javiergs
PRO
0
470
LangChain4jとは一味違うLangChain4j-CDI
kazumura
1
170
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
140
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
PostgreSQL を使った快適な go test 環境を求めて
otakakot
0
540
Windows on Ryzen and I
seosoft
0
260
オブザーバビリティ駆動開発って実際どうなの?
yohfee
3
830
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
240
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
570
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
540
Featured
See All Featured
Mind Mapping
helmedeiros
PRO
1
120
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
91
30 Presentation Tips
portentint
PRO
1
250
A Modern Web Designer's Workflow
chriscoyier
698
190k
Paper Plane (Part 1)
katiecoart
PRO
0
5.5k
Darren the Foodie - Storyboard
khoart
PRO
3
2.8k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
Embracing the Ebb and Flow
colly
88
5k
Music & Morning Musume
bryan
47
7.1k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
83
sira's awesome portfolio website redesign presentation
elsirapls
0
190
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
!