{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"}],"enrichment":{"capability":"Flasgger extracts OpenAPI specifications from Flask views and serves an embedded Swagger UI for interactive API documentation and request validation.","skillfed_tags":["api-documentation","flask-extension","openapi-swagger"],"use_cases":["Auto-generate interactive API documentation for Flask REST APIs without writing separate documentation files.","Validate incoming JSON request bodies against OpenAPI schemas defined in docstrings or YAML files.","Provide a live, browsable Swagger UI for API consumers to explore and test endpoints.","Maintain API specifications alongside code by embedding them in Flask view docstrings.","Integrate API documentation into Flask-RESTful resource-based applications with minimal configuration."],"what_it_does":"Flasgger is a Flask extension that automatically generates OpenAPI specifications from your Flask application's routes and serves an interactive Swagger UI at a configurable endpoint. It reads API documentation from Flask view docstrings, external YAML files, Python dictionaries, or Marshmallow schemas, then uses that same specification to validate incoming POST, PUT, and PATCH request bodies against the defined schema.\n\nThe package integrates with Flask-RESTful resources and supports Marshmallow APISpec as a base template. It embeds Swagger UI directly, eliminating the need for external hosting or separate documentation tools. However, the project has not been actively maintained since 2023-05-18, and the fact sheet provides no runtime dependencies, suggesting a lightweight but potentially aging implementation.","worth_installing":"Yes, with conditions. Flasgger is suitable for Flask projects that need lightweight, embedded API documentation and request validation. However, install only if you can verify compatibility with your Flask and Python versions\u2014the package has been dormant since 2023-05-18 and may have unresolved issues with modern versions. For new projects, consider actively maintained alternatives or check the GitHub repository for recent community forks."},"id":"flasgger","links":{"html":"https://skillfed.io/packages/flasgger","md":"https://skillfed.io/packages/flasgger.md","pypi":"https://pypi.org/project/flasgger/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-05-18","license_spdx":null,"license_treatment":"permissive","name":"flasgger","python_support":"unspecified","summary":"Extract swagger specs from your flask project"},"popularity":{"monthly_downloads":859576,"position":4877,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.9.7.1"}
