AWS Contract Testing
Generates offline contract and schema validation tests for AWS Python projects using OpenAPI specs and SAM templates.
This skill empowers developers to automate the creation of robust contract tests for AWS-based Python applications by analyzing OpenAPI specifications, SAM templates, and CloudFormation definitions. It extracts API schemas, endpoints, and security requirements to generate comprehensive test suites using Pydantic and jsonschema, ensuring that request and response shapes remain consistent without requiring network calls or live infrastructure. It is particularly useful for teams adopting a design-first API approach or those managing complex serverless architectures with multiple Step Function transitions.
主な機能
011 GitHub stars
02Validates security definitions and global security requirements for endpoints
03Automated schema extraction from OpenAPI/Swagger and SAM templates
04Executes zero-network validation for fast and reliable offline testing
05Generates Pytest-based contract validation for API request/response bodies
06Creates Pydantic models for Step Function input and output verification
ユースケース
01Ensuring API Gateway implementations strictly follow defined OpenAPI specifications
02Validating Step Function data transitions between states using Pydantic models
03Automating schema compliance checks in CI/CD pipelines for serverless projects