mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 06:46:14 +00:00
Fix OpenAPI template packaging, add static file tests
- Include ext/openapi/docs/*.html in package_data so OpenAPI docs themes (swagger_ui, redoc, rapidoc, elements) ship with the wheel. Fixes #583. - Add tests for static file serving and index.html fallback. Fixes #563. - Bump version to 3.4.1. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ Issues = "https://github.com/kennethreitz/responder/issues"
|
||||
version = {attr = "responder.__version__.__version__"}
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
responder = ["py.typed"]
|
||||
responder = ["py.typed", "ext/openapi/docs/*.html"]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
exclude = ["tests"]
|
||||
|
||||
Reference in New Issue
Block a user