My setup:
flask - awsLambda - zappa - api gateway
I do have a simple app running via above mentioned services. In my zappa_settings.json I have 'api_key_required' set to true.
Is it possible to set it up the way, that I will be using api key for every resource endpoint, but one (swagger documentation).
If, yes, where actually do I have to set it up. I don't have any api key setup in my flask app, so I assume it has to be done somewhere in aws.console - but I cannot find it.
EDIT: Just to add to correct answer (below). If you use flasgger it is not sufficient to add just one public endpoint pointing to /apidocs. To make documentation work without api key I had to open these enpoints:
- /apidocs and /apidocs/{proxy+}
- /apispec_1.json - may be different in your case
- /flasgger_static and /flasgger_static/{proxy+}