Plugin for the Serverless Framework v2/v3 that adds response models to AWS API Gateway REST APIs, enabling automatic documentation generation with possible API responses. Stable version 1.1.1, low release cadence. Differentiators: simple YAML-based configuration within serverless.yml, supports multiple HTTP status codes and content types. Does NOT support HTTP API (only REST API), and does NOT validate responses at runtime. Built for internal use, may not work in all configurations.
npm install serverless-aws-response-schema-pluginNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to install the plugin and configure response schemas for API Gateway endpoints in serverless.yml.
Use REST API (provider: name: aws apiGateway: ...) or look for an alternative plugin compatible with HTTP API.
Ensure your Serverless Framework version is 2.x or 3.x.
Use Node >=10.0 in your development environment and Lambda runtime.
Ensure the plugin is listed under plugins: - serverless-aws-response-schema-plugin
Verify the path relative to serverless.yml, e.g., ${file(./schemas/schema.json)} or absolute path.Set provider: name: aws runtime: ... apiGateway: ... (if needed).