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

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

Enable CORS support in Swagger #4

Closed behrooziAWS closed 8 years ago

behrooziAWS commented 8 years ago

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

sapessi commented 8 years ago

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