Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Enhancements
* Declare and test support for Python 3.13 and 3.14 (CPython). [python-restx]
* Expand GitHub Actions and tox coverage: PyPy 3.11 with both Flask 2.x and Flask 3.x; exclude Flask 2 on 3.13/3.14 where unsupported. [python-restx]
* Refresh test and release tooling (pytest, pytest-benchmark, pytest-profiling, twine) for newer interpreters. GitHub Actions pre-installs compatible ``rpds-py`` (and ``readme-renderer`` for PyPy 3.11) for PyPy jobs; tox pins ``rpds-py`` for local PyPy envs. [python-restx]
* Document the Swagger UI URL for the Todo blueprint example. (#608) [marcelod6427]

.. _bug_fixes-1.3.3
Bug Fixes
Expand Down
7 changes: 7 additions & 0 deletions examples/todo_blueprint.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
"""Todo API mounted on a Flask blueprint.

Run ``python examples/todo_blueprint.py`` from the repository root and open
http://127.0.0.1:5000/api/1/ for Swagger UI. The blueprint mounts the API at
``/api/1``, so requesting ``/`` returns 404.
"""

from flask import Flask, Blueprint
from flask_restx import Api, Resource, fields

Expand Down