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
200
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
290
The Maturation of Swift
dokun1
0
240
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
330
IBM & Server Side Swift - Making Your Mobile Developers Full Stack
dokun1
3
410
AVFoundation, iOS 11 & Lumina
dokun1
0
500
Focus on your Functions with Serverless Swift
dokun1
0
210
Developing Applications End To End In Swift On The Cloud
dokun1
0
150
Kitura - What's Next?
dokun1
0
180
Other Decks in Programming
See All in Programming
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
320
開発に寄りそう自動テストの実現
goyoki
2
1.6k
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
420
「コードは上から下へ読むのが一番」と思った時に、思い出してほしい話
panda728
PRO
39
26k
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
5
1.5k
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
170
Denoのセキュリティに関する仕組みの紹介 (toranoana.deno #23)
uki00a
0
190
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
150
チームをチームにするEM
hitode909
0
420
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
300
実は歴史的なアップデートだと思う AWS Interconnect - multicloud
maroon1st
0
280
Implementation Patterns
denyspoltorak
0
140
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
720
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
RailsConf 2023
tenderlove
30
1.3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
My Coaching Mixtape
mlcsv
0
15
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
130
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
860
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
990
Designing for Performance
lara
610
70k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
65
35k
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
!