Marcus Weiner
|
631ff3e702
|
Allow primary key for nested models in OpenAPI request schemas (#18451)
|
2025-03-05 11:46:12 -08:00 |
|
Marcus Weiner
|
c81f4da780
|
Fix definition of vid_ranges in VLANGroup so it shows up in the OpenAPI schema (#18237)
|
2025-02-25 16:34:15 -08:00 |
|
Arthur Hanson
|
a24576f126
|
7848 Add RQ API (#17938)
* 7848 Add Background Tasks (RQ) to API
* 7848 Tasks
* 7848 cleanup
* 7848 add worker support
* 7848 switch to APIView
* 7848 Task detail view
* 7848 Task enqueue, requeue, stop
* 7848 Task enqueue, requeue, stop
* 7848 Task enqueue, requeue, stop
* 7848 tests
* 7848 tests
* 7848 OpenAPI doc generation
* 7848 OpenAPI doc generation
* 7848 review changes
* 7848 viewset
* 7848 viewset
* 7848 fix tests
* 7848 more viewsets
* 7848 fix docstring
* 7848 review comments
* 7848 review comments - get all tasks
* 7848 queue detail view
* 7848 cleanup
* 7848 cleanup
* 7848 cleanup
* 7848 cleanup
* Rename viewsets for consistency w/serializers
* Misc cleanup
* 7848 review changes
* 7848 review changes
* 7848 add test
* 7848 queue detail view
* 7848 fix tests
* 7848 fix the spectacular test failure
* 7848 fix the spectacular test failure
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
|
2024-11-26 10:01:06 -05:00 |
|
Jeremy Stretch
|
343a4af591
|
Closes #18022: Extend linter (ruff) to enforce line length limit (120 chars) (#18067)
* Enable E501 rule
* Configure ruff formatter
* Reformat migration files to fix line length violations
* Fix various E501 errors
* Move table template code to template_code.py & ignore E501 errors
* Reformat raw SQL
|
2024-11-21 15:58:11 -05:00 |
|
Jeremy Stretch
|
e59f776e02
|
Closes #17725: Clean up import statements (#17728)
* #17725: Resolve all F401 errors
* Tweak noqa designation
|
2024-10-10 14:52:47 -04:00 |
|
Arthur Hanson
|
4f225b4e56
|
16670 fix OpenAPI schema generation with nested serializers (#17078)
* 16670 fix OpenAPI schema generation with nested serializers
* 16670 fix comment
* Add comment; misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
|
2024-08-27 12:57:14 -04:00 |
|
Sami Tahri
|
79b9ef7d0c
|
fix: SerializedPKRelatedField schema now use nested serializer or response
|
2024-05-17 16:16:21 -04:00 |
|
Jeremy Stretch
|
eaa3bc6576
|
Fixes #15570: Remove omission of M2M relations when generating writable serializers for OpenAPI schema
|
2024-03-28 16:17:12 -04:00 |
|
Abhimanyu Saharan
|
2e74952ac6
|
added missing import #15058
|
2024-02-16 01:20:54 +05:30 |
|
Abhimanyu Saharan
|
49af70a77d
|
fixes choice field schema for response #12960
|
2023-06-23 14:21:51 -04:00 |
|
jeremystretch
|
20f0464824
|
Fix OpanAPI schema base path
|
2023-05-01 17:01:51 -04:00 |
|
Abhimanyu Saharan
|
d3206d9bf9
|
Added method to update viewset description (#12218)
* wip
* wip
* updated description on viewset
* fixed model name
* Update schema.py
* Update schema.py
|
2023-04-25 14:37:05 -04:00 |
|
Arthur
|
dda56f21f3
|
#12256 remove read-only fields from writable serializers
|
2023-04-20 14:11:55 -04:00 |
|
Arthur
|
31c909c368
|
#12149 remove spectacular choice mapping fixup internal one
|
2023-04-20 14:10:05 -04:00 |
|
Arthur Hanson
|
ecd0c56554
|
Closes #9608: Move from drf-yasg to spectacular
Co-authored-by: arthanson <worldnomad@gmail.com>
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
|
2023-03-30 14:32:59 -04:00 |
|