v0.1.0
FastAPI DocShield v0.1.0 - Initial Release
A lightweight FastAPI middleware that protects your API documentation endpoints with authentication.
Features
- Simple integration with FastAPI applications
- Protects Swagger UI, ReDoc, and OpenAPI JSON/YAML endpoints
- Customizable authentication methods
- Minimal performance impact
- Fully tested with Python 3.7-3.13
Usage
from fastapi import FastAPI
from fastapi_docshield import DocShield
app = FastAPI()
DocShield(app, username="admin", password="secure_password")
This is the first stable release of FastAPI DocShield.