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
150
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
210
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
260
IBM & Server Side Swift - Making Your Mobile Developers Full Stack
dokun1
3
380
AVFoundation, iOS 11 & Lumina
dokun1
0
370
Focus on your Functions with Serverless Swift
dokun1
0
180
Developing Applications End To End In Swift On The Cloud
dokun1
0
92
Kitura - What's Next?
dokun1
0
160
Other Decks in Programming
See All in Programming
Rails 1.0 のコードで学ぶ find_by* と method_missing の仕組み / Learn how find_by_* and method_missing work in Rails 1.0 code
maimux2x
1
290
Swift Testingのモチベを上げたい
stoticdev
2
260
複雑なフォームと複雑な状態管理にどう向き合うか / #newt_techtalk vol. 15
izumin5210
4
2.1k
クックパッド検索システム統合/Cookpad Search System Consolidation
giga811
0
240
Functional APIから再考するLangGraphを使う理由
os1ma
4
590
変化の激しい時代における、こだわりのないエンジニアの強さ
satoshi256kbyte
1
1k
なぜselectはselectではないのか
taiyow
1
160
AWS CDKにおけるL2 Constructの仕組み / aws-cdk-l2-construct
gotok365
4
850
ローコードサービスの進化のためのモノレポ移行
taro28
1
230
Generative AI for Beginners .NETの紹介
tomokusaba
1
250
JavaOne 2025: Advancing Java Profiling
jbachorik
1
210
保守性を高める AWS CDK のセオリー・ベストプラクティス
yamanashi_ren01
5
680
Featured
See All Featured
It's Worth the Effort
3n
184
28k
How GitHub (no longer) Works
holman
314
140k
Side Projects
sachag
452
42k
Fireside Chat
paigeccino
37
3.3k
A Philosophy of Restraint
colly
203
16k
Become a Pro
speakerdeck
PRO
26
5.2k
4 Signs Your Business is Dying
shpigford
183
22k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Raft: Consensus for Rubyists
vanstee
137
6.8k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
30
4.7k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
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
!