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
120
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.1k
Hacking Facial Recognition With Beards
dokun1
0
220
The Maturation of Swift
dokun1
0
180
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
220
IBM & Server Side Swift - Making Your Mobile Developers Full Stack
dokun1
3
360
AVFoundation, iOS 11 & Lumina
dokun1
0
260
Focus on your Functions with Serverless Swift
dokun1
0
150
Developing Applications End To End In Swift On The Cloud
dokun1
0
62
Kitura - What's Next?
dokun1
0
130
Other Decks in Programming
See All in Programming
Folding Cheat Sheet #7
philipschwarz
PRO
0
150
ドメイン駆動設計の実践
masuda220
PRO
19
5.2k
Modern Angular: Renovation for Your Applications
manfredsteyer
PRO
0
140
From Spring Boot 2 to Spring Boot 3 with Java 22 and Jakarta EE
ivargrimstad
0
1.9k
Composing an API the *right* way (Droidcon Berlin 2024)
zsmb
1
450
AWS CDKにおける「再利用性」を考える / aws-cdk-reusability
gotok365
6
1.3k
20240706_CDKConf
takuyay0ne
0
1.2k
AWS初心者ってどうやってAWSを学ぶ?〜アプリエンジニアがやってよかったアーキテクチャ学習方法〜
yamanashi_ren01
0
190
CSC307 Lecture 05
javiergs
PRO
0
210
日付と正規化
megmogmog1965
0
140
Activities at Cairo Library
cairolibrary720
0
1.2k
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
2
81k
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
662
120k
What's in a price? How to price your products and services
michaelherold
239
11k
Making Projects Easy
brettharned
111
5.7k
The Cost Of JavaScript in 2023
addyosmani
31
4.7k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.8k
A Philosophy of Restraint
colly
200
16k
Code Review Best Practice
trishagee
58
16k
How to name files
jennybc
67
96k
Designing for Performance
lara
604
67k
The World Runs on Bad Software
bkeepers
PRO
63
11k
Testing 201, or: Great Expectations
jmmastey
33
6.9k
[RailsConf 2023] Rails as a piece of cake
palkan
35
4.4k
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
!