Skip to content

v0.1.0

Choose a tag to compare

@georgekhananaev georgekhananaev released this 07 May 15:05
· 4 commits to master since this release

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.