The serverless.docs.yml and serverless.yml duplicate the same documentation and it's not clear which was used to generate the openapi.yml in the directory.
When I run the sample my createUser endpoint fails to create a requestBody , I can't replicate the openapi.yml in the test/project directory. If I run the serverless.yml in the sample I get this in my output
post:
operationId: createUser
summary: Create User
description: Creates a user and then sends a generated password email
responses:
'201':
description: A user object along with generated API Keys
content:
application/json:
schema:
$ref: '#/components/schemas/PutDocumentResponse'
'500':
description: An error message when creating a new user
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'```
Without this I'm not sure if there's a reason I can't add a request body to an endpoint
The
serverless.docs.ymlandserverless.ymlduplicate the same documentation and it's not clear which was used to generate theopenapi.ymlin the directory.When I run the sample my
createUserendpoint fails to create arequestBody, I can't replicate theopenapi.ymlin the test/project directory. If I run theserverless.ymlin the sample I get this in my output