{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"}],"enrichment":{"capability":"Validates Swagger/OpenAPI specifications (versions 1.2 and 2.0) against their official schema to ensure full compliance with the Swagger specification.","skillfed_tags":["api-validation","swagger-openapi"],"use_cases":["Validate Swagger specs in CI/CD pipelines before deploying API documentation or code generators","Check Swagger 2.0 specs programmatically during API development to catch schema errors early","Verify Swagger 1.2 legacy specs for compliance when migrating or maintaining older APIs","Integrate spec validation into API tooling or frameworks that consume Swagger definitions","Validate specs fetched from remote URLs to ensure they meet Swagger specification requirements"],"what_it_does":"Swagger Spec Validator is a Python library that checks Swagger API specifications for compliance with the official Swagger 1.2 or 2.0 specification. It takes a Swagger spec (typically loaded from a URL or file) and validates its structure, required fields, and data types against the specification schema. The validation catches structural errors, missing required fields, and type mismatches that would prevent the spec from being used by API tools and code generators.\n\nThe package is built on jsonschema and pyyaml to parse and validate YAML and JSON specs. It's commonly used in API development workflows to catch spec errors early, in CI/CD pipelines to gate spec changes, and by API frameworks that need to verify specs before generating client code or server stubs.","worth_installing":"Yes. The package is production-stable, actively maintained with recent commits, has low install friction, carries no known vulnerabilities, and solves a concrete problem in API development. Install it if you work with Swagger 1.2 or 2.0 specs and need programmatic validation."},"id":"swagger-spec-validator","links":{"html":"https://skillfed.io/packages/swagger-spec-validator","md":"https://skillfed.io/packages/swagger-spec-validator.md","pypi":"https://pypi.org/project/swagger-spec-validator/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-06-27","license_spdx":null,"license_treatment":"permissive","name":"swagger-spec-validator","python_support":"supports_current","summary":"Validation of Swagger specifications"},"popularity":{"monthly_downloads":809689,"position":5009,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.0.4"}
