mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-21 09:51:10 +00:00
This PR is part of #4767. It contains * a refactoring of validation error messages * adds the ability to send user-activities to distant federated servers Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8792 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org> Co-authored-by: Michael Jerger <michael.jerger@meissa-gmbh.de> Co-committed-by: Michael Jerger <michael.jerger@meissa-gmbh.de>
22 lines
438 B
Go
22 lines
438 B
Go
// Copyright 2022 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package swagger
|
|
|
|
import (
|
|
api "forgejo.org/modules/structs"
|
|
)
|
|
|
|
// ActivityPub
|
|
// swagger:response ActivityPub
|
|
type swaggerResponseActivityPub struct {
|
|
// in:body
|
|
Body api.ActivityPub `json:"body"`
|
|
}
|
|
|
|
// Personfeed
|
|
// swagger:response PersonFeed
|
|
type swaggerResponsePersonFeed struct {
|
|
// in:body
|
|
Body []api.APPersonFollowItem `json:"body"`
|
|
}
|