mirror of
https://github.com/go-gitea/gitea.git
synced 2026-06-22 07:55:45 +02:00
re-order managed-ssh-key path entries
This commit is contained in:
parent
0bbfd6aa38
commit
4717162f02
166
templates/swagger/v1_json.tmpl
generated
166
templates/swagger/v1_json.tmpl
generated
@ -3267,6 +3267,89 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/orgs/{org}/managed-ssh-key": {
|
||||
"get": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"organization"
|
||||
],
|
||||
"summary": "Get SSH public key for organization mirroring",
|
||||
"operationId": "orgGetManagedSSHKey",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "name of the organization",
|
||||
"name": "org",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "SSH public key",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"fingerprint": {
|
||||
"type": "string"
|
||||
},
|
||||
"public_key": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"$ref": "#/responses/forbidden"
|
||||
},
|
||||
"404": {
|
||||
"$ref": "#/responses/notFound"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/orgs/{org}/managed-ssh-key/regenerate": {
|
||||
"post": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"organization"
|
||||
],
|
||||
"summary": "Regenerate SSH keypair for organization mirroring",
|
||||
"operationId": "orgRegenerateManagedSSHKey",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "name of the organization",
|
||||
"name": "org",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "New SSH public key",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"fingerprint": {
|
||||
"type": "string"
|
||||
},
|
||||
"public_key": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"$ref": "#/responses/forbidden"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/orgs/{org}/members": {
|
||||
"get": {
|
||||
"produces": [
|
||||
@ -3378,89 +3461,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/orgs/{org}/managed-ssh-key": {
|
||||
"get": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"organization"
|
||||
],
|
||||
"summary": "Get SSH public key for organization mirroring",
|
||||
"operationId": "orgGetManagedSSHKey",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "name of the organization",
|
||||
"name": "org",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "SSH public key",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"fingerprint": {
|
||||
"type": "string"
|
||||
},
|
||||
"public_key": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"$ref": "#/responses/forbidden"
|
||||
},
|
||||
"404": {
|
||||
"$ref": "#/responses/notFound"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/orgs/{org}/managed-ssh-key/regenerate": {
|
||||
"post": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"organization"
|
||||
],
|
||||
"summary": "Regenerate SSH keypair for organization mirroring",
|
||||
"operationId": "orgRegenerateManagedSSHKey",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "name of the organization",
|
||||
"name": "org",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "New SSH public key",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"fingerprint": {
|
||||
"type": "string"
|
||||
},
|
||||
"public_key": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"$ref": "#/responses/forbidden"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/orgs/{org}/public_members": {
|
||||
"get": {
|
||||
"produces": [
|
||||
|
||||
178
templates/swagger/v1_openapi3_json.tmpl
generated
178
templates/swagger/v1_openapi3_json.tmpl
generated
@ -13987,6 +13987,95 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/orgs/{org}/managed-ssh-key": {
|
||||
"get": {
|
||||
"operationId": "orgGetManagedSSHKey",
|
||||
"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}/managed-ssh-key/regenerate": {
|
||||
"post": {
|
||||
"operationId": "orgRegenerateManagedSSHKey",
|
||||
"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}/members": {
|
||||
"get": {
|
||||
"operationId": "orgListMembers",
|
||||
@ -14106,95 +14195,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/orgs/{org}/managed-ssh-key": {
|
||||
"get": {
|
||||
"operationId": "orgGetManagedSSHKey",
|
||||
"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}/managed-ssh-key/regenerate": {
|
||||
"post": {
|
||||
"operationId": "orgRegenerateManagedSSHKey",
|
||||
"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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user