English
Open in Telegram

Post🚀 New issue to wemake-services/django-modern-rest by @Izcarmt95

30 September 2026
W
wps_forward_bot
🚀 New issue to wemake-services/django-modern-rest by @Izcarmt95 📝 OpenAPI: duplicated tags when both Router(tags=...) and @modify(tags=...) set the same tag (#1656) When an operation has a tag in @modify(tags=...) and its Router has the same tag in Router(tags=...), the generated OpenAPI operation lists the tag twice. UIs like Scalar then show every operation twice, once per tag entry. from dmr import Controller, modify from dmr.openapi import build_schema from dmr.plugins.pydantic import PydanticSerializer from dmr.routing import Router, path class UserController(Controller[PydanticSerializer]): @modify(tags=['Users']) def get(self) -> str: return 'ok' users = Router('/users', [path('/all', UserController.as_view(), name='users')], tags=['Users']) api = Router('api') api.include(users, namespace='users') schema = build_schema(api) print(schema.paths['/api/users/all'].get.tags) # ['Users', 'Users'] Expected: ['Users']. The router tags and the endpoint tags should be merged without duplicates. This looks related to the change for #1299, which now propagates router metadata to included routes. • django-modern-rest 0.15.0 • Django 5.2, Python 3.13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ AI disclaimer: an AI assistant was used only to help write this issue. #bug #good_first_issue #help_wanted #openapi #opensource_september #django_modern_rest sent via relator
1 · 289 ·

Nearby in the feed

Wwps_forward_bot🚀 New issue to wemake-services/django-modern-rest by @vyhuholl 📝 Seeded OpenAPI examples of `datetime` and `time` change with the current time (#1632) What's wrWwps_forward_bot🚀 New issue to wemake-services/wemake-python-styleguide by @sobolevn 📝 `WPS235`: ignore imports from `typing` (#3824) I can't limit the number of types I import
this message
Wwps_forward_bot🚀 New issue to wemake-services/django-modern-rest by @Izcarmt95 📝 Router.include() raises KeyError for a route with an empty pattern ('') (#1657) Router.includeWwps_forward_bot🚀 New issue to wemake-services/django-modern-rest by @sobolevn 📝 Improve `dmr` skill with `concrete_views` example (#1670) We should state that using concrete_v
ННаходки в опенсорсе: PythonНаходки в опенсорсе: Python@opensource_findings_python · channel · Tech
1 052subscribers346average post reach
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count