From 6e6813a88bac34d5adbe0aeccaa81ef2fed0400a Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 9 Feb 2024 18:17:40 +0100 Subject: [PATCH] make operatorid unique --- routers/api/v1/activitypub/repository.go | 2 +- templates/swagger/v1_json.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/routers/api/v1/activitypub/repository.go b/routers/api/v1/activitypub/repository.go index 7077b3c853..44be2a9128 100644 --- a/routers/api/v1/activitypub/repository.go +++ b/routers/api/v1/activitypub/repository.go @@ -49,7 +49,7 @@ func Repository(ctx *context.APIContext) { // PersonInbox function handles the incoming data for a repository inbox func RepositoryInbox(ctx *context.APIContext) { - // swagger:operation POST /activitypub/repository-id/{repository-id}/inbox activitypub activitypubRepository + // swagger:operation POST /activitypub/repository-id/{repository-id}/inbox activitypub activitypubRepositoryInbox // --- // summary: Send to the inbox // produces: diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 12c11f26d3..4da62c9fc5 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -58,7 +58,7 @@ "activitypub" ], "summary": "Send to the inbox", - "operationId": "activitypubRepository", + "operationId": "activitypubRepositoryInbox", "parameters": [ { "type": "integer",