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
140
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
200
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
250
IBM & Server Side Swift - Making Your Mobile Developers Full Stack
dokun1
3
370
AVFoundation, iOS 11 & Lumina
dokun1
0
350
Focus on your Functions with Serverless Swift
dokun1
0
170
Developing Applications End To End In Swift On The Cloud
dokun1
0
82
Kitura - What's Next?
dokun1
0
150
Other Decks in Programming
See All in Programming
いりゃあせ、PHPカンファレンス名古屋2025 / Welcome to PHP Conference Nagoya 2025
ttskch
1
270
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
770
sappoRo.R #12 初心者セッション
kosugitti
0
230
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
890
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
230
SpringBoot3.4の構造化ログ #kanjava
irof
2
970
Software Architecture
hschwentner
6
2.1k
GitHub Actions × RAGでコードレビューの検証の結果
sho_000
0
240
チームリードになって変わったこと
isaka1022
0
190
Pythonでもちょっとリッチな見た目のアプリを設計してみる
ueponx
1
480
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
7
2.5k
Amazon S3 TablesとAmazon S3 Metadataを触ってみた / 20250201-jawsug-tochigi-s3tables-s3metadata
kasacchiful
0
100
Featured
See All Featured
A designer walks into a library…
pauljervisheath
205
24k
A Philosophy of Restraint
colly
203
16k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
It's Worth the Effort
3n
184
28k
Scaling GitHub
holman
459
140k
Raft: Consensus for Rubyists
vanstee
137
6.8k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.8k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Designing Experiences People Love
moore
139
23k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
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
!