spec, changelog
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
parent
5c139be42e
commit
78c4332218
3 changed files with 6 additions and 4 deletions
1
changelog.d/preferred-frontend.add
Normal file
1
changelog.d/preferred-frontend.add
Normal file
|
|
@ -0,0 +1 @@
|
|||
Allow users to select preferred frontend
|
||||
|
|
@ -151,7 +151,8 @@ defmodule Pleroma.Web.ApiSpec do
|
|||
"Suggestions",
|
||||
"Announcements",
|
||||
"Remote interaction",
|
||||
"Others"
|
||||
"Others",
|
||||
"Preferred frontends"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ defmodule Pleroma.Web.ApiSpec.PleromaFrontendSettingsOperation do
|
|||
|
||||
def available_frontends_operation() do
|
||||
%Operation{
|
||||
tags: ["Frontends"],
|
||||
summary: "Frontend Settings Profiles",
|
||||
tags: ["Preferred frontends"],
|
||||
summary: "Frontend settings profiles",
|
||||
description: "List frontend setting profiles",
|
||||
operationId: "PleromaAPI.FrontendSettingsController.available_frontends",
|
||||
responses: %{
|
||||
|
|
@ -29,7 +29,7 @@ defmodule Pleroma.Web.ApiSpec.PleromaFrontendSettingsOperation do
|
|||
|
||||
def update_preferred_frontend_operation() do
|
||||
%Operation{
|
||||
tags: ["Frontends"],
|
||||
tags: ["Preferred frontends"],
|
||||
summary: "Update preferred frontend setting",
|
||||
description: "Store preferred frontend in cookies",
|
||||
operationId: "PleromaAPI.FrontendSettingsController.update_preferred_frontend",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue