|
|
@@ -372,6 +372,10 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do |
|
|
|
tags: ["accounts"], |
|
|
|
summary: "Identity proofs", |
|
|
|
operationId: "AccountController.identity_proofs", |
|
|
|
# Validators complains about unused path params otherwise |
|
|
|
parameters: [ |
|
|
|
%Reference{"$ref": "#/components/parameters/accountIdOrNickname"} |
|
|
|
], |
|
|
|
description: "Not implemented", |
|
|
|
responses: %{ |
|
|
|
200 => empty_array_response() |
|
|
@@ -469,7 +473,6 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do |
|
|
|
identifier: %Schema{type: :string}, |
|
|
|
message: %Schema{type: :string} |
|
|
|
}, |
|
|
|
required: [], |
|
|
|
# Note: example of successful registration with failed login response: |
|
|
|
# example: %{ |
|
|
|
# "identifier" => "missing_confirmed_email", |
|
|
@@ -530,7 +533,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do |
|
|
|
nullable: true, |
|
|
|
oneOf: [ |
|
|
|
%Schema{type: :array, items: attribute_field()}, |
|
|
|
%Schema{type: :object, additionalProperties: %Schema{type: attribute_field()}} |
|
|
|
%Schema{type: :object, additionalProperties: attribute_field()} |
|
|
|
] |
|
|
|
}, |
|
|
|
# NOTE: `source` field is not supported |
|
|
|