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.
This commit is contained in:
Jason Novinger
2025-11-10 05:52:52 -06:00
parent 9723a2f0ad
commit 773d86dd85
4 changed files with 2924 additions and 268 deletions

File diff suppressed because it is too large Load Diff