1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-17 18:49:15 +00:00
akkoma/lib/pleroma/web/api_spec
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
..
operations Accept body parameters for /api/pleroma/notification_settings 2024-04-09 04:11:28 +02:00
schemas Add ability to auto-approve followbacks 2024-02-13 15:42:37 +01:00
cast_and_validate.ex Update OpenApiSpex dependency 2021-03-05 15:51:29 +04:00
helpers.ex Account schema: specify that pleroma.relationship is nullable 2021-02-03 18:10:43 +03:00
render_error.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00