temando / serverless-openapi-documentation

Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration
MIT License
93 stars 127 forks source link

Support for securitySchemes #20

Open ecolman opened 6 years ago

ecolman commented 6 years ago

Is there any way to have the securitySchemes picked up through the config? I took a look at the code, but it seems like the securitySchemes is always set to {}. Using a token based header to validate the user.

https://github.com/temando/serverless-openapi-documentation/blob/master/src/DefinitionGenerator.ts#L42