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
110
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.1k
Hacking Facial Recognition With Beards
dokun1
0
190
The Maturation of Swift
dokun1
0
180
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
200
IBM & Server Side Swift - Making Your Mobile Developers Full Stack
dokun1
3
350
AVFoundation, iOS 11 & Lumina
dokun1
0
230
Focus on your Functions with Serverless Swift
dokun1
0
150
Developing Applications End To End In Swift On The Cloud
dokun1
0
60
Kitura - What's Next?
dokun1
0
120
Other Decks in Programming
See All in Programming
Kotlinを用いたDSL的な設計手法と使用上の注意
kohii00
3
530
受託開発でGitLab CI を活用していく
xiombatsg
1
130
Laravel標準バリデーションでできること
hmb_ok
2
360
孤独のCTOグルメという やや奇抜な企画をやった目的と効果
shoheimitani
3
1k
App Router への移行は「改善」となり得るのか?/ Can migration to App Router be an improvement
takefumiyoshii
1
130
MySQL のインデックスの種類をおさらいしよう! / overviewing indexes in MySQL
okashoi
0
170
[スクリプト] Swiftの型推論を学ぼう
omochi
0
120
Swiftの型推論を学ぼう | Let's Learn About Type Inference in Swift
omochi
2
590
Laravel OpenAPIによる"辛くない"スキーマ駆動開発
kentaroutakeda
2
2.1k
LLMチャットボットのアプリケーション設計Tips
os1ma
4
660
document.write再考
brn
5
2.5k
オブジェクト指向コードレビューの新しいアプローチ
akkie76
3
1.5k
Featured
See All Featured
Designing for humans not robots
tammielis
247
25k
Building Effective Engineering Teams - LeadDev
addyosmani
25
1.8k
How to train your dragon (web standard)
notwaldorf
71
5.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
5
1.4k
Adopting Sorbet at Scale
ufuk
66
8.5k
Typedesign – Prime Four
hannesfritz
36
2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
185
15k
Keith and Marios Guide to Fast Websites
keithpitt
407
22k
Optimising Largest Contentful Paint
csswizardry
7
2.3k
Designing on Purpose - Digital PM Summit 2013
jponch
109
6.4k
Clear Off the Table
cherdarchuk
82
310k
Six Lessons from altMBA
skipperchong
19
2.9k
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
!