aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/operations/app_operation.ex
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-12-22 10:31:04 -0600
committerAlex Gleason <alex@alexgleason.me>2021-12-22 10:31:04 -0600
commit07c30c9e6ef5eae5e2c5d0e919750884409a5fc8 (patch)
tree1d617aa06947e565f72b31517f28a6fd3d88adae /lib/pleroma/web/api_spec/operations/app_operation.ex
parent682f0aa2597bec4ef80691daddae1d87ddeeae0a (diff)
parent9c1cb87eff1fdd20f47355971831545a79c7cd3a (diff)
downloadpleroma-07c30c9e6ef5eae5e2c5d0e919750884409a5fc8.tar.gz
Merge remote-tracking branch 'origin/develop' into 2061-chat-deletion
Diffstat (limited to 'lib/pleroma/web/api_spec/operations/app_operation.ex')
-rw-r--r--lib/pleroma/web/api_spec/operations/app_operation.ex8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/pleroma/web/api_spec/operations/app_operation.ex b/lib/pleroma/web/api_spec/operations/app_operation.ex
index ae01cbbec..dfb1c7170 100644
--- a/lib/pleroma/web/api_spec/operations/app_operation.ex
+++ b/lib/pleroma/web/api_spec/operations/app_operation.ex
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ApiSpec.AppOperation do
@@ -16,7 +16,7 @@ defmodule Pleroma.Web.ApiSpec.AppOperation do
@spec create_operation() :: Operation.t()
def create_operation do
%Operation{
- tags: ["apps"],
+ tags: ["Applications"],
summary: "Create an application",
description: "Create a new application to obtain OAuth2 credentials",
operationId: "AppController.create",
@@ -45,8 +45,8 @@ defmodule Pleroma.Web.ApiSpec.AppOperation do
def verify_credentials_operation do
%Operation{
- tags: ["apps"],
- summary: "Verify your app works",
+ tags: ["Applications"],
+ summary: "Verify the application works",
description: "Confirm that the app's OAuth2 credentials work.",
operationId: "AppController.verify_credentials",
security: [%{"oAuth" => ["read"]}],