Commit Graph

12 Commits

Author SHA1 Message Date
Jeremy Stretch 7c63d001b1 Release v4.4.9 2025-12-23 12:02:30 -05:00
Jeremy Stretch 970f2bd4ed Release v4.4.8 2025-12-09 11:28:36 -05:00
Jeremy Stretch adad3745ae Release v4.4.7 2025-11-25 14:37:06 -05:00
Jason Novinger 82171fce7a
Fixes #20638: Document bulk create support in OpenAPI schema (#20777)
* Fixes #20638: Document bulk create support in OpenAPI schema

POST operations on NetBoxModelViewSet endpoints accept both single
objects and arrays, but the schema only documented single objects.
This prevented API client generators from producing correct code.

Add explicit bulk_create_enabled flag to NetBoxModelViewSet and
update schema generation to emit oneOf for these endpoints.

* Address PR feedback

- Removed brittle serializer marking mechanism in favor of direct checks
  on behavior.
- Attempted to introduce a bulk_create action and then route to it on
  POST in NetBoxRouter, but ran in to several obstacles including
  breaking HTTP status code reporting in the schema. Opted to simply

* Remove unused bulk_create_enabled attr

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2025-11-24 09:33:39 -05:00
Jeremy Stretch 4961b0d334 Release v4.4.6 2025-11-11 09:58:09 -05:00
Jeremy Stretch 43cb476223 Release v4.4.5 2025-10-28 14:34:18 -04:00
Jason Novinger bee0080917
Release v4.4.4 (#20594) 2025-10-15 14:25:43 -05:00
Jeremy Stretch a69bbcf651 Release v4.4.3 2025-10-14 13:51:41 -04:00
Jeremy Stretch d5e8480367
Update OpenAPI schema (#20519) 2025-10-07 08:22:24 -07:00
Jeremy Stretch 5a96b76cd4 Release v4.4.2 2025-09-30 16:14:35 -04:00
Jeremy Stretch 8fa1abd371
Release v4.4.1 (#20366)
* Release v4.4.1

* Revert django-mptt to v0.17.0
2025-09-16 11:56:50 -04:00
Jeremy Stretch 8a1db81111
Closes #20203: Add a pre-commit check for OpenAPI schema changes (#20230) 2025-09-04 16:02:12 -07:00