akkoma/test/pleroma/web/twitter_api
Oneric bd74ad9ce4 Accept body parameters for /api/pleroma/notification_settings
This brings it in line with its documentation and akkoma-fe’s
expectations. For backwards compatibility URL parameters are still
accept with lower priority. Unfortunately this means duplicating
parameters and descriptions in the API spec.

Usually Plug already pre-merges parameters from different sources into
the plain 'params' parameter which then gets forwarded by Phoenix.
However, OpenApiSpex 3.x prevents this; 4.x is set to change this
  https://github.com/open-api-spex/open_api_spex/issues/334
  https://github.com/open-api-spex/open_api_spex/issues/92

Fixes: https://akkoma.dev/AkkomaGang/akkoma/issues/691
Fixes: https://akkoma.dev/AkkomaGang/akkoma/issues/722
2024-04-09 04:11:28 +02:00
..
controller_test.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
password_controller_test.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
remote_follow_controller_test.exs Migrate to phoenix 1.7 (#626) 2023-08-15 10:22:18 +00:00
twitter_api_test.exs CI: Bump lint stage to elixir-1.12 2021-10-06 08:11:05 +02:00
util_controller_test.exs Accept body parameters for /api/pleroma/notification_settings 2024-04-09 04:11:28 +02:00