summaryrefslogtreecommitdiffstats
path: root/swagger.v1.json
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-04-27 18:11:58 +0200
committerCyborus <cyborus@cyborus.xyz>2024-04-27 18:16:51 +0200
commit8cd8207fa096be8d02c165d1ae66881fbb1bb443 (patch)
tree43acaae7499a3b1380de5de8f3a97d606d7a0b46 /swagger.v1.json
parentMerge pull request 'add `CreateHookOptionConfig` required properties as field... (diff)
downloadforgejo-api-8cd8207fa096be8d02c165d1ae66881fbb1bb443.tar.xz
forgejo-api-8cd8207fa096be8d02c165d1ae66881fbb1bb443.zip
add `object_format_name` back in
Diffstat (limited to 'swagger.v1.json')
-rw-r--r--swagger.v1.json13
1 files changed, 12 insertions, 1 deletions
diff --git a/swagger.v1.json b/swagger.v1.json
index 052fafe..dcc3709 100644
--- a/swagger.v1.json
+++ b/swagger.v1.json
@@ -10,7 +10,7 @@
"name": "MIT",
"url": "http://opensource.org/licenses/MIT"
},
- "version": "7.0.0+gitea-1.22.0"
+ "version": "7.0.1+gitea-1.22.0"
},
"basePath": "/api/v1",
"paths": {
@@ -17396,6 +17396,9 @@
"uniqueItems": true,
"x-go-name": "Name"
},
+ "object_format_name": {
+ "$ref": "#/definitions/ObjectFormatName"
+ },
"private": {
"description": "Whether the repository is private",
"type": "boolean",
@@ -20169,6 +20172,11 @@
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
+ "ObjectFormatName": {
+ "description": "ObjectFormatName of the underlying git repository",
+ "type": "string",
+ "enum": ["sha1", "sha256"]
+ },
"Organization": {
"description": "Organization represents an organization",
"type": "object",
@@ -21268,6 +21276,9 @@
"type": "string",
"x-go-name": "Name"
},
+ "object_format_name": {
+ "$ref": "#/definitions/ObjectFormatName"
+ },
"open_issues_count": {
"type": "integer",
"format": "int64",