Open yeukfei02 opened 2 years ago
Use top of this plugin.
plugins:
- serverless-layers
- serverless-plugin-typescript
- serverless-offline
- serverless-openapi-documentation
to
plugins:
- serverless-openapi-documentation
- serverless-layers
- serverless-plugin-typescript
- serverless-offline
Also add custom.documentation
custom:
documentation:
version: '1'
title: 'My API'
description: 'This is my API'
models: {}
@Rafat97
use at the top of the plugin also has an error, and this repo the doc said should be after serverless-offline
.
btw I did not use this lib already also this repo is not maintained
@yeukfei02 Yaa, you are right . this repo is not maintained any more. are you use use any alternative for documentation generation ?
@Rafat97
I use postman collection to publish documenation
@Rafat97
I use postman collection to publish documenation
Ok. nice
serverless.yml
package.json
error:
sls version: 2.72.2 node version: 14.18.0
I try to play with this plugin with my sls project, but got this error. looking for suggestions and bug fixes, thank you.