amazon-archives / serverless-app-examples

Apache License 2.0
717 stars 402 forks source link

Add OpenAPI Python3 example #19

Open spitzzz opened 4 years ago

spitzzz commented 4 years ago

Issue #, if available:

Not applicable

Description of changes:

Added an example for using an OpenAPI template to deploy a basic API. For this example I utilized the example lambda function from hello-world-python3 to incorporate referencing a lambda into the example template.

Notes to Reviewer(s)

sam build
sam deploy --guided

When using the sam deploy --guided step make sure you pass in values for the required parameters.

PR Required Notice

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

spitzzz commented 4 years ago

@carvantes @ylynn @mlaff Would it be possible to get a review on this? I think this example could add value - particularly because it seems the old Swagger examples were removed.