Hi,
I have installed the plugin and then deployed my serverless project.
After that I have executed the serverless downloadDocumentation --outputFile=filename.ext command to download the documentation.
This gives an error :
Serverless command "downloadDocumentation" not found. Did you mean "tabcompletion"? Run "serverless help" for a list of all available commands.
I also checked the documentation tab under AWS Gateway API and there is no documentation created!!
This is the part under the function in the .yml file which I want documented :
UserManagementGetUsers:
role: LambdaAdminRole
handler: src/user-management/userManagementHandler.getUsers
events:
- http:
path: /api/usrmgmt/user
method: get
operationId: getUsers
cors: true
authorizer:
name: LambdaAuthorizer
type: COGNITO_USER_POOLS
arn:
Fn::GetAtt:
- WiredScoreUserPool
- Arn
documentation:
summary: "Get a list of all the users!!"
methodResponses:
-
statusCode: "200"
responseBody:
description: "a list of all the users"
-
statusCode: "400"
responseBody:
description: "Error 400! Bad request!!"
Can anyone help me out with this?
Hi,
I have installed the plugin and then deployed my serverless project.
After that I have executed the
serverless downloadDocumentation --outputFile=filename.extcommand to download the documentation.This gives an error :
Serverless command "downloadDocumentation" not found. Did you mean "tabcompletion"? Run "serverless help" for a list of all available commands.I also checked the documentation tab under AWS Gateway API and there is no documentation created!!
This is the part under the function in the .yml file which I want documented :
Can anyone help me out with this?