django-openapi-contract-validator

Community

Validate Django OpenAPI contracts for compliance.

AuthorMaciWP
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automatically validates your Django REST Framework API against its OpenAPI (Swagger) contract, ensuring that your implementation matches the specification and preventing discrepancies.

Core Features & Use Cases

  • Schema Compliance: Verify that API request and response bodies adhere to the defined schemas, preventing data inconsistencies.
  • Parameter Validation: Check that all required parameters are handled correctly and that their types and constraints match the contract.
  • Use Case: Validate a Django DRF /products endpoint against its OpenAPI specification, ensuring that the API's actual behavior (e.g., response structure, error codes) matches the documented contract.

Quick Start

Validate the Django DRF /users/{id} GET endpoint against its OpenAPI contract, checking that the response schema matches the specification.

Dependency Matrix

Required Modules

Django REST Frameworkdrf-spectacular

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: django-openapi-contract-validator
Download link: https://github.com/MaciWP/CV_Astro/archive/main.zip#django-openapi-contract-validator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository