Slide 1

Slide 1 text

Generating Swift Code Using the OpenAPI Spec By David Okun @dokun24

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

LoopBack Generate a Web API from the command line

Slide 4

Slide 4 text

LoopBack Generate a Web API from the command line Ya, rly.

Slide 5

Slide 5 text

The Open API Spec An easy way to define a Web API with one file

Slide 6

Slide 6 text

The Open API Spec An easy way to define a Web API with one file Yes, even a Swift Web API.

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

npm install -g loopback-cli

Slide 9

Slide 9 text

lb

Slide 10

Slide 10 text

lb model

Slide 11

Slide 11 text

lb export-api-def

Slide 12

Slide 12 text

bx plugin install sdk-gen -r Bluemix

Slide 13

Slide 13 text

bx sdk generate --swift -f ./Definition.yml

Slide 14

Slide 14 text

bx dev create

Slide 15

Slide 15 text

DEMO TIME

Slide 16

Slide 16 text

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

Slide 17

Slide 17 text

Absolutely Shameless Self Promotion • https://github.com/IBM/loopback-in-five • https://github.com/dokun1/Lumina • @dokun24

Slide 18

Slide 18 text

!