From 8a7f107c44fbbe97c446e2c9119a71b9a8747bfe Mon Sep 17 00:00:00 2001 From: pomidorry Date: Sat, 16 May 2026 23:32:36 +0300 Subject: [PATCH] regenerate openapi3 spec --- templates/swagger/v1_openapi3_json.tmpl | 150 ++++++++++++++++++++++++ 1 file changed, 150 insertions(+) diff --git a/templates/swagger/v1_openapi3_json.tmpl b/templates/swagger/v1_openapi3_json.tmpl index 04b8bd2d62..f3ed072bc0 100644 --- a/templates/swagger/v1_openapi3_json.tmpl +++ b/templates/swagger/v1_openapi3_json.tmpl @@ -14106,6 +14106,95 @@ ] } }, + "/orgs/{org}/mirror-ssh-key": { + "get": { + "operationId": "orgGetMirrorSSHKey", + "parameters": [ + { + "description": "name of the organization", + "in": "path", + "name": "org", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "fingerprint": { + "type": "string" + }, + "public_key": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "SSH public key" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/notFound" + } + }, + "summary": "Get SSH public key for organization mirroring", + "tags": [ + "organization" + ] + } + }, + "/orgs/{org}/mirror-ssh-key/regenerate": { + "post": { + "operationId": "orgRegenerateMirrorSSHKey", + "parameters": [ + { + "description": "name of the organization", + "in": "path", + "name": "org", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "fingerprint": { + "type": "string" + }, + "public_key": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "New SSH public key" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Regenerate SSH keypair for organization mirroring", + "tags": [ + "organization" + ] + } + }, "/orgs/{org}/public_members": { "get": { "operationId": "orgListPublicMembers", @@ -32477,6 +32566,67 @@ ] } }, + "/user/mirror-ssh-key": { + "get": { + "operationId": "userGetMirrorSSHKey", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "fingerprint": { + "type": "string" + }, + "public_key": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "SSH public key" + }, + "404": { + "$ref": "#/components/responses/notFound" + } + }, + "summary": "Get SSH public key for user mirroring", + "tags": [ + "user" + ] + } + }, + "/user/mirror-ssh-key/regenerate": { + "post": { + "operationId": "userRegenerateMirrorSSHKey", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "fingerprint": { + "type": "string" + }, + "public_key": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "New SSH public key" + } + }, + "summary": "Regenerate SSH keypair for user mirroring", + "tags": [ + "user" + ] + } + }, "/user/orgs": { "get": { "operationId": "orgListCurrentUserOrgs",