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
160
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
220
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
280
IBM & Server Side Swift - Making Your Mobile Developers Full Stack
dokun1
3
390
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
100
Kitura - What's Next?
dokun1
0
160
Other Decks in Programming
See All in Programming
RuboCop: Modularity and AST Insights
koic
2
2.5k
2ヶ月で生産性2倍、お買い物アプリ「カウシェ」4チーム同時改善の取り組み
ike002jp
1
110
マイコンでもRustのtestがしたい/KernelVM Kansai 11
tnishinaga
0
410
ウォンテッドリーの「ココロオドル」モバイル開発 / Wantedly's "kokoro odoru" mobile development
kubode
1
270
Flutterでllama.cppをつかってローカルLLMを試してみた
sakuraidayo
0
130
Thank you <💅>, What's the Next?
ahoxa
1
590
Boost Your Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
800
Designing Your Organization's Test Pyramid ( #scrumniigata )
teyamagu
PRO
4
520
SwiftDataのカスタムデータストアを試してみた
1mash0
0
140
ComposeでのPicture in Picture
takathemax
0
130
note の Elasticsearch 更新系を支える技術
tchov
9
3.5k
In geheimer Mission: AI Agents entwickeln
joergneumann
0
110
Featured
See All Featured
Bash Introduction
62gerente
612
210k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Scaling GitHub
holman
459
140k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
560
Documentation Writing (for coders)
carmenintech
71
4.8k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
How STYLIGHT went responsive
nonsquared
100
5.5k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
13
830
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Embracing the Ebb and Flow
colly
85
4.7k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
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
!