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
210
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
260
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
92
Kitura - What's Next?
dokun1
0
160
Other Decks in Programming
See All in Programming
RCPと宣言型ポリシーについてのお話し
kokitamura
2
130
NestJSのコードからOpenAPIを自動生成する際の最適解を探す
astatsuya
0
160
私の愛したLaravel 〜レールを超えたその先へ〜
kentaroutakeda
11
3k
Devinのメモリ活用の学びを自社サービスにどう組み込むか?
itarutomy
0
1.2k
goにおける コネクションプールの仕組み を軽く掘って見た
aronokuyama
0
110
データベースエンジニアの仕事を楽にする。PgAssistantの紹介
nnaka2992
8
3.7k
マルチアカウント環境での、そこまでがんばらない RI/SP 運用設計
wa6sn
0
220
生産性アップのためのAI個人活用
kunoyasu
0
470
PsySHから紐解くREPLの仕組み
muno92
PRO
1
480
requirements with math
moony
0
500
CQRS+ES勉強会#1
rechellatek
0
380
AHC 044 混合整数計画ソルバー解法
kiri8128
0
290
Featured
See All Featured
Visualization
eitanlees
146
15k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
22
2.6k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.5k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
BBQ
matthewcrist
88
9.5k
How to Ace a Technical Interview
jacobian
276
23k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
A Philosophy of Restraint
colly
203
16k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Documentation Writing (for coders)
carmenintech
69
4.7k
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
!