
This commit aims to improve readability of MVC controllers & actions. The main change is the switch to custom [ProducesResults] and [ProducesErrors] attributes.
6 lines
No EOL
328 B
C#
6 lines
No EOL
328 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Iceshrimp.Backend.Controllers.Shared.Attributes;
|
|
|
|
public class ConsumesActivityStreamsPayload() : ConsumesAttribute("application/activity+json",
|
|
"application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\""); |