课程: AWS API Gateway with HTTP, Lambda, DynamoDB, and iOS

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Genearate OpenAPI and SDK

Genearate OpenAPI and SDK

- [Instructor] So the next thing we want to do 2 is actually use this API, right? 3 Okay, so it's deployed. That's great. 4 How do we use it? 5 There's a couple of things 6 that are given to us here in this stages area 7 that will allow us to generate some code 8 to use on our deployed API. 9 So you see the stage actions button here. 10 I can export this API as a Swagger file, 11 or the newer versions, now called Open API. 12 I can export it as a JSON file or a YAML file. 13 And I can even include API Gateway extensions 14 or Postman extensions. 15 If I want to use the Postman tool, 16 then it will have those extensions built in, 17 or if I want to reimport it later into API Gateway 18 or another AWS account API Gateway. 19 So once I have this selected, I can just export the API. 20 It's going to download it as a YAML file. I can open that up. 21 And here's the YAML file. 22 If you're familiar with Open API, 23 you…

内容