Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First implementation of Swagger support #222

Merged
merged 9 commits into from
Dec 7, 2017
Merged

First implementation of Swagger support #222

merged 9 commits into from
Dec 7, 2017

Conversation

sapessi
Copy link
Contributor

@sapessi sapessi commented Dec 6, 2017

Added the ability to load Swagger templates from a local file, s3 url, or template body. Mounts are merged between the ones loaded from Swagger and the ones defined in the function. Also added support the "any" method and method overrides

Copy link
Contributor

@PaulMaddox PaulMaddox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it!

@judahb
Copy link

judahb commented Nov 14, 2018

Can you please add to the documentation how a swagger template is specified? Is this in the CFN template or via a CLI arg?

@sapessi
Copy link
Contributor Author

sapessi commented Nov 14, 2018

Hey @judahb, you can find a pretty good sample here. As you can, you can embed the swagger definition in the sam template itself. Alternatively, you can also reference an external swagger definition. However, this way you lose the ability to use cloudformation's functions and references.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants