wps_forward_bot
🚀 New issue to wemake-services/django-modern-rest by @sobolevn
📝 Fix missing `Schema` attributes in `load_schema` (#1490)
In my personal opinion load_schema is the ugliest part of the framework. New issues proposing better design of this feature is MASSIVELY welcome. But, before that we need to fix the existing problem.
Here's how a schema is loaded right now:
django-modern-rest/dmr/openapi/mappers/schema_loader.py
Lines 67 to 127 in f822e35
We never set: anchor, comment, ref, and schema_uri. Maybe others?
But, $ref is the most complex one here. Please, ignore it for now, we must fix our Reference | Schema handling in all places at once 😢
#bug #good_first_issue #help_wanted #openapi #opensource_september #django_modern_rest
sent via relator
1 · 254 ·