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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
150
Kitura - What's Next?
dokun1
0
190
Other Decks in Programming
See All in Programming
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
870
JPUG勉強会 OSSデータベースの内部構造を理解しよう
oga5
2
200
文字コードの話
qnighy
15
4.9k
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
330
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
160
Swift at Scale: Where Performance Really Comes From
kateinoigakukun
0
120
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
330
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
700
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1.1k
AI時代の認知負荷との向き合い方
optfit
0
180
高速開発のためのコード整理術
sutetotanuki
1
430
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
380
Featured
See All Featured
Site-Speed That Sticks
csswizardry
13
1.1k
Building Adaptive Systems
keathley
44
2.9k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.2k
The Curse of the Amulet
leimatthew05
1
9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Paper Plane (Part 1)
katiecoart
PRO
0
4.6k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Navigating Weather and Climate Data
rabernat
0
120
Test your architecture with Archunit
thirion
1
2.2k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
97
Git: the NoSQL Database
bkeepers
PRO
432
66k
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
!