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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
David Okun
September 30, 2017
Programming
0
220
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.4k
Hacking Facial Recognition With Beards
dokun1
0
300
The Maturation of Swift
dokun1
0
250
RWDevCon 2018 - Server Side Swift With Kitura
dokun1
0
350
IBM & Server Side Swift - Making Your Mobile Developers Full Stack
dokun1
3
410
AVFoundation, iOS 11 & Lumina
dokun1
0
520
Focus on your Functions with Serverless Swift
dokun1
0
220
Developing Applications End To End In Swift On The Cloud
dokun1
0
160
Kitura - What's Next?
dokun1
0
190
Other Decks in Programming
See All in Programming
存在論的プログラミング: 時間と存在を記述する
koriym
5
560
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
250
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
210
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
160
Kubernetesでセルフホストが簡単なNewSQLを求めて / Seeking a NewSQL Database That's Simple to Self-Host on Kubernetes
nnaka2992
0
180
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
200
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
190
Smarter Angular mit Transformers.js & Prompt API
christianliebel
PRO
1
100
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.6k
Understanding Apache Lucene - More than just full-text search
spinscale
0
140
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
260
ファインチューニングせずメインコンペを解く方法
pokutuna
0
210
Featured
See All Featured
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
53k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Designing for Timeless Needs
cassininazir
0
180
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
160
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.5k
Odyssey Design
rkendrick25
PRO
2
560
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
880
Visualization
eitanlees
150
17k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.5k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
800
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
!