diff options
author | Anthony Wang | 2022-06-16 12:34:03 -0500 |
---|---|---|
committer | Anthony Wang | 2022-06-16 12:34:03 -0500 |
commit | c67e4189de09519288693ade69825dbd5c32eb7f (patch) | |
tree | 3a1ebdf3a36f58bd55774444797140ca14488c0e | |
parent | 37b913476eaf374dded618a18ef16f7c34c93787 (diff) |
make generate-swagger to fix typos
I didn't know that templates/swagger/v1_json.tmpl was machine-generated... ðŸ˜
-rw-r--r-- | templates/swagger/v1_json.tmpl | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 43277785c..beb405db1 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -49,16 +49,16 @@ } } }, - "/activitypub/user/{username}/inbox": { - "post": { + "/activitypub/user/{username}/followers": { + "get": { "produces": [ "application/activity+json" ], "tags": [ "activitypub" ], - "summary": "Send to the inbox", - "operationId": "activitypubPersonInbox", + "summary": "Returns the followers collection", + "operationId": "activitypubPersonFollowers", "parameters": [ { "type": "string", @@ -69,22 +69,22 @@ } ], "responses": { - "204": { - "$ref": "#/responses/empty" + "200": { + "$ref": "#/responses/ActivityPub" } } } }, - "/activitypub/user/{username}/outbox": { - "post": { + "/activitypub/user/{username}/following": { + "get": { "produces": [ "application/activity+json" ], "tags": [ "activitypub" ], - "summary": "Send to the inbox", - "operationId": "activitypubPersonInbox", + "summary": "Returns the following collection", + "operationId": "activitypubPersonFollowing", "parameters": [ { "type": "string", @@ -95,22 +95,22 @@ } ], "responses": { - "204": { - "$ref": "#/responses/empty" + "200": { + "$ref": "#/responses/ActivityPub" } } } }, - "/activitypub/user/{username}/following": { - "get": { + "/activitypub/user/{username}/inbox": { + "post": { "produces": [ "application/activity+json" ], "tags": [ "activitypub" ], - "summary": "Returns the following collection", - "operationId": "activitypubPersonFollowing", + "summary": "Send to the inbox", + "operationId": "activitypubPersonInbox", "parameters": [ { "type": "string", @@ -121,13 +121,13 @@ } ], "responses": { - "200": { - "$ref": "#/responses/ActivityPub" + "204": { + "$ref": "#/responses/empty" } } } }, - "/activitypub/user/{username}/followers": { + "/activitypub/user/{username}/outbox": { "get": { "produces": [ "application/activity+json" @@ -135,8 +135,8 @@ "tags": [ "activitypub" ], - "summary": "Returns the followers collection", - "operationId": "activitypubPersonFollowers", + "summary": "Returns the outbox", + "operationId": "activitypubPersonOutbox", "parameters": [ { "type": "string", |