📝 Fix how `Controller` generates `additionalOperations` (#1300)
See https://spec.openapis.org/oas/v3.2.0.html#path-item-object
django-modern-rest can use custom allowed_http_methods to add any desired additional HTTP methods.But, right now
Controller does not respect to this option when generating schema:django-modern-rest/dmr/controller.py
Lines 529 to 555 in 3e2874f
But, this is not correct. We can only add methods that are defined on
PathItem directly. All other items must go to additionalOperations dict. This needs to be fixed, tested, and schema must be generated and tested as well.#bug #good_first_issue #help_wanted #openapi #django_modern_rest
sent via relator