amazon web services - AWS API GATEWAY - Import and export APIs with Swagger template -




it's been couple of weeks i've been fighting aws api gateway.

i've working version of our apis client certificate , custom lambda authorizer in api gateway console.

i trying export swagger file import within same aws account different api, imported api doesn't work.

all endpoints working in "resources" panel functionality "test" when try deploy stage, doesn't work. both swagger import , export work ok, , deploying stage runs without problems calling api returns {"message": null}

i've tried many times swagger or swagger + api extensions template, both json or yaml still fails when calling apis.

someone knows if need steps in order export , import template?

i found solution.

if want use custom authorizer in api gateway, need define manually "execution role arn" ( need create new 1 or using existing ).

actually, if leave field blank, using auto generation function swagger not able create automatically new role next time when you'll try import template.

obviously, no docs that.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -

python - Read npy file directly from S3 StreamingBody -