mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-12-07 14:09:47 +00:00
Mastodon doesn't create actors locally if the outbox is not found. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10120 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: famfo <famfo@famfo.xyz> Co-committed-by: famfo <famfo@famfo.xyz>
23 lines
454 B
Go
23 lines
454 B
Go
// Copyright 2022 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package swagger
|
|
|
|
import (
|
|
"forgejo.org/modules/forgefed"
|
|
api "forgejo.org/modules/structs"
|
|
)
|
|
|
|
// ActivityPub
|
|
// swagger:response ActivityPub
|
|
type swaggerResponseActivityPub struct {
|
|
// in:body
|
|
Body api.ActivityPub `json:"body"`
|
|
}
|
|
|
|
// Outbox
|
|
// swagger:response Outbox
|
|
type swaggerResponseOutbox struct {
|
|
// in:body
|
|
Body forgefed.ForgeOutbox `json:"body"`
|
|
}
|