temando / serverless-openapi-documentation

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

Fix conditions that prevent requestBody and parameters from being generated. #49

Open tywalk opened 1 year ago

tywalk commented 1 year ago

The requestBody and parameters properties are never set due to the condition checking the operationObj instead of the documentationConfig for values. This will allow those properties to be generated.