aws-samples / api-gateway-secure-pet-store

Amazon API Gateway sample using Amazon Cognito credentials through AWS Lambda
Apache License 2.0
307 stars 113 forks source link

Enable CORS support in Swagger #4

Closed behrooziAWS closed 9 years ago

behrooziAWS commented 9 years ago

Can you update the swagger file with CORS support so this can be invoked with the javascript sdk?

sapessi commented 9 years ago

I've added CORS support to the Swagger API definition and tested with a JavaScript client