According to BaseRenderer:
All renderers should extend this class, setting the media_type and format attributes, and override the .render() method. so swagger is fine to expect it.
As far as I can tell, format is only metadata and does not affect functionality, so setting it shouldn't cause any issues.
https://fecgov.atlassian.net/browse/FECFILE-1506
Issue was that the DotFECRenderer didn't define 'format' which was causing swagger to blow up when it expected it here
According to BaseRenderer:
All renderers should extend this class, setting the media_type and format attributes, and override the .render() method.
so swagger is fine to expect it.As far as I can tell, format is only metadata and does not affect functionality, so setting it shouldn't cause any issues.