Page MenuHomePhabricator

Switch to using @schema_extend_view from drf-spectacular >0.10.0
Closed, ResolvedPublic

Description

A new convenience decorator has been added in https://github.com/tfranzel/drf-spectacular/commit/ae9f34ba4a63e42ca549c1caae27402efe5b1775 for https://github.com/tfranzel/drf-spectacular/issues/182 that can be used to replace a lot of boilerplate in toolhub.apps.api.views.* modules once a new version of drf-spectacular is released.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
bd808 changed the task status from Open to Stalled.Nov 4 2020, 7:11 PM
bd808 triaged this task as Medium priority.

Marking task as stalled pending a new upstream release.

bd808 changed the task status from Stalled to Open.Nov 14 2020, 9:19 PM
bd808 moved this task from Backlog to In Progress on the Toolhub board.

Change 641009 had a related patch set uploaded (by BryanDavis; owner: Bryan Davis):
[wikimedia/toolhub@main] api: Use extend_schema_view to document API endpoints

https://gerrit.wikimedia.org/r/641009

Change 641009 merged by jenkins-bot:
[wikimedia/toolhub@main] api: Use extend_schema_view to document API endpoints

https://gerrit.wikimedia.org/r/641009