Skip to content

Conversation

pheus
Copy link
Contributor

@pheus pheus commented Sep 21, 2025

Fixes: #20365

  • Implement get_internal_type() on custom fields for Django introspection.
  • Annotate id/name path params and add explicit operation_ids for queues/workers/tasks
  • Provide get_serializer_context() through viewsets.GenericViewSet (and defensive get_serializer_class()) on the RQ base viewset

Add `get_internal_type()` to custom field classes for Django compatibility,
annotate path parameters and operation IDs for background endpoints, and
provide serializer context on the RQ base viewset to clear schema warnings.

Fixes netbox-community#20365
@pheus pheus marked this pull request as ready for review September 22, 2025 19:57
@jnovinger jnovinger requested review from a team, jeremystretch and bctiemann and removed request for a team and jeremystretch September 23, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generating OpenAPI schema triggers multiple warnings and errors
1 participant