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
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
160
Kitura - What's Next?
dokun1
0
190
Other Decks in Programming
See All in Programming
Windows on Ryzen and I
seosoft
0
240
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
390
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
480
Go1.26 go fixをプロダクトに適用して困ったこと
kurakura0916
0
360
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
3
1.2k
Docコメントで始める簡単ガードレール
keisukeikeda
1
110
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
260
CSC307 Lecture 15
javiergs
PRO
0
240
Geminiの機能を調べ尽くしてみた
naruyoshimi
0
200
TROCCOで実現するkintone+BigQueryによるオペレーション改善
ssxota
0
170
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
200
技術検証結果の整理と解析をAIに任せよう!
keisukeikeda
0
110
Featured
See All Featured
New Earth Scene 8
popppiees
1
1.7k
Designing for Performance
lara
611
70k
What does AI have to do with Human Rights?
axbom
PRO
1
2k
AI: The stuff that nobody shows you
jnunemaker
PRO
3
370
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
Designing for Timeless Needs
cassininazir
0
160
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
68
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
140
Technical Leadership for Architectural Decision Making
baasie
3
280
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
My Coaching Mixtape
mlcsv
0
69
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.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
!