Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Generating Swift Code with the OpenAPI Spec
David Okun
September 30, 2017
Programming
0
95
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
2.8k
Hacking Facial Recognition With Beards
dokun1
0
150
The Maturation of Swift
dokun1
0
170
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
160
IBM & Server Side Swift - Making Your Mobile Developers Full Stack
dokun1
3
340
AVFoundation, iOS 11 & Lumina
dokun1
0
170
Focus on your Functions with Serverless Swift
dokun1
0
130
Developing Applications End To End In Swift On The Cloud
dokun1
0
41
Kitura - What's Next?
dokun1
0
110
Other Decks in Programming
See All in Programming
CDKでValidationする本当の方法 / cdk-validation
gotok365
1
150
AWSとCPUのムフフな関係
cmdemura
0
440
新卒2年目がデータ分析API開発に挑戦【Stapy#88】/data-science-api-begginer
matsuik
0
330
Writing Greener Java Applications
hollycummins
0
330
WordPress(再)入門 - 基礎知識・環境編
oleindesign
1
110
MapLibre GL JS とCSSアニメーションでできること
satoshi7190
0
200
Rによる大規模データの処理
s_uryu
2
610
中小企業開発事例から見るサーバーレス
seike460
PRO
4
1.5k
Zynq MP SoC で楽しむエッジコンピューティング ~RTLプログラミングのススメ~
ryuz88
0
170
Amebaブログの会員画面システム刷新の道程
ryotasugawara
1
200
Spring BootとKubernetesで実現する今どきのDevOps入門
xblood
0
320
10年以上続くプロダクトの フロントエンド刷新プロジェクトのふりかえり
yotahada3
2
290
Featured
See All Featured
Designing the Hi-DPI Web
ddemaree
273
32k
GitHub's CSS Performance
jonrohan
1020
430k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
38
3.6k
Optimizing for Happiness
mojombo
365
64k
Code Reviewing Like a Champion
maltzj
508
38k
Build your cross-platform service in a week with App Engine
jlugia
221
17k
What’s in a name? Adding method to the madness
productmarketing
12
1.9k
Happy Clients
brianwarren
90
5.8k
The Art of Programming - Codeland 2020
erikaheidi
35
11k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
101
6.1k
We Have a Design System, Now What?
morganepeng
37
5.9k
Documentation Writing (for coders)
carmenintech
51
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
!