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
150
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
270
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
98
Kitura - What's Next?
dokun1
0
160
Other Decks in Programming
See All in Programming
Kamal 2 – Get Out of the Cloud
aleksandrov
1
170
自分のために作ったアプリが、グローバルに使われるまで / Indie App Development Lunch LT
pixyzehn
1
150
Preact、HooksとSignalsの両立 / Preact: Harmonizing Hooks and Signals
ssssota
1
1.3k
Do Dumb Things
mitsuhiko
0
420
AHC 044 混合整数計画ソルバー解法
kiri8128
0
320
海外のアプリで見かけたかっこいいTransitionを真似てみる
shogotakasaki
1
160
MCP調べてみました! / Exploring MCP
uhzz
2
2.2k
Vibe Codingをせずに Clineを使っている
watany
17
6k
パスキーのすべて / 20250324 iddance Lesson.5
kuralab
0
150
小田原でみんなで一句詠みたいな #phpcon_odawara
stefafafan
0
320
「影響が少ない」を自分の目でみてみる
o0h
PRO
2
960
Enterprise Web App. Development (1): Build Tool Training Ver. 5
knakagawa
1
110
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Pragmatic Product Professional
lauravandoore
33
6.5k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
9
740
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
135
33k
Automating Front-end Workflow
addyosmani
1369
200k
RailsConf 2023
tenderlove
30
1.1k
Scaling GitHub
holman
459
140k
Six Lessons from altMBA
skipperchong
27
3.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.1k
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
!