HomeSoftware Heritage

api/apiresponse: Use DRF JsonEncoder in documented endpoint views

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

api/apiresponse: Use DRF JsonEncoder in documented endpoint views

That encoder is used when querying the API for "application/json" content type.
It handles more encoding cases than the default one (notably it knows how to
encode a swh.model.collections.ImmutableDict), so let's also use it when
generating HTML documentation for the API endpoints.

Details

Provenance
anlambertAuthored on Aug 21 2020, 5:18 PM
anlambertPushed on Aug 24 2020, 11:16 AM
Differential Revision
D3826: api/apiresponse: Use DRF JsonEncoder in documented endpoint views
Build Status
Buildable 14734
Build 22702: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.