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 requestBody and parameters on requests #50

Open thiagocardoso1988 opened 8 months ago

thiagocardoso1988 commented 8 months ago

When defining a requestBody parameter on a route, the output file does not includes the data specified. That's because when processing the data before creating the output file, the variable does not reference the correct attribute where the data should come from.

With this fix, the output file is processed correctly again.