Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes OpenAPI schema for Content create operations
The code[0] for special handling of FileFields when generating the OpenAPI schema was introduced to work around a bug in drf-yasg[1]. This code was then ported when pulpcore switched to using drf_spectacular for generating OpenAPI. This code is not needed. It actually causes the OpenAPI schema for Content creation APIs to be different from all other create operations. [0] pulp@24b5071#diff-0535b5e0e76e73cdc44991f38a187114c123eb5ba125bda3015ca222a2b18088 [1] axnsan12/drf-yasg#386 closes pulp#2806
- Loading branch information