Commit graph

12 commits

Author SHA1 Message Date
Laura Hausmann
3b8a4b89a9
[backend/openapi] Replace ConsumesHybrid condition with FromHybrid 2024-11-18 19:02:43 +01:00
Laura Hausmann
dc77c48005
[backend/core] Allow configuring arbitrary reject/rewrite policies, add default configuration values to all policies (ISH-16) 2024-10-09 05:46:18 +02:00
Laura Hausmann
807a6fc95d
[backend] Refactor dictionary initializers to use the new syntax 2024-08-12 03:21:03 +02:00
Laura Hausmann
0776a50cbe
[backend/asp] Refactor controllers
This commit aims to improve readability of MVC controllers & actions. The main change is the switch to custom [ProducesResults] and [ProducesErrors] attributes.
2024-07-06 17:12:22 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
Laura Hausmann
dfa6b5a5ae
[backend/swagger] More nullability fixup 2024-04-09 00:25:48 +02:00
Laura Hausmann
ae7cdf0f49
[backend/swagger] Mark all non-nullable schema properties as required 2024-04-09 00:12:27 +02:00
Laura Hausmann
20155c4bc0
[swagger] Generate separate swagger docs for the Iceshrimp.NET web API, Federation/ActivityPub & the Mastodon client API (ISH-87) 2024-02-29 22:40:03 +01:00
Laura Hausmann
ba0e041bad
[backend/core] Add 401/403 response examples programmatically 2024-02-24 22:09:47 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00
Laura Hausmann
e31a0719f4
[backend] Replace mastodon-specific middleware with modes triggered on MastodonApiControllerAttribute 2024-02-05 21:08:20 +01:00
Laura Hausmann
12a18987b0
Fix FromHybrid attributes in SwaggerGen 2024-01-30 19:28:11 +01:00