Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
190
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
280
The Maturation of Swift
dokun1
0
240
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
320
IBM & Server Side Swift - Making Your Mobile Developers Full Stack
dokun1
3
400
AVFoundation, iOS 11 & Lumina
dokun1
0
460
Focus on your Functions with Serverless Swift
dokun1
0
200
Developing Applications End To End In Swift On The Cloud
dokun1
0
140
Kitura - What's Next?
dokun1
0
180
Other Decks in Programming
See All in Programming
GraalVM Native Image トラブルシューティング機能の最新状況(2025年版)
ntt_dsol_java
0
170
分散DBって何者なんだ... Spannerから学ぶRDBとの違い
iwashi623
0
140
AIと協働し、イベントソーシングとアクターモデルで作る後悔しないアーキテクチャ Regret-Free Architecture with AI, Event Sourcing, and Actors
tomohisa
2
10k
AWS CDKの推しポイントN選
akihisaikeda
1
210
開発15年のAIネイティブでない 巨大サービスのAI最適化
rapicro
0
110
flutter_kaigi_2025.pdf
kyoheig3
2
380
Querying Design System デザインシステムの意思決定を支える構造検索
ikumatadokoro
1
1.2k
Building AI Agents with TypeScript #TSKaigiHokuriku
izumin5210
5
1.1k
GeistFabrik and AI-augmented software development
adewale
PRO
0
210
知られているようで知られていない JavaScriptの仕様 4選
syumai
0
640
Module Harmony
petamoriken
2
580
レイトレZ世代に捧ぐ、今からレイトレを始めるための小径
ichi_raven
0
480
Featured
See All Featured
A designer walks into a library…
pauljervisheath
210
24k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Bash Introduction
62gerente
615
210k
Rails Girls Zürich Keynote
gr2m
95
14k
Scaling GitHub
holman
464
140k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Testing 201, or: Great Expectations
jmmastey
46
7.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
!