1
0
Fork 0

remove object_format_name for now

forgejo currently has a bug where the `object_format_name` field is
always an empty string. for now, just don't include it.

should be fixed in https://codeberg.org/forgejo/forgejo/pulls/3464
This commit is contained in:
Cyborus 2024-04-25 18:19:10 -04:00
parent 9b784f1f95
commit 736dd72993
No known key found for this signature in database
2 changed files with 1 additions and 35 deletions

View file

@ -17348,7 +17348,7 @@
"CreateRepoOption": {
"description": "CreateRepoOption options when creating repository",
"type": "object",
"required": ["name", "object_format_name"],
"required": ["name"],
"properties": {
"auto_init": {
"description": "Whether the repository should be auto-initialized?",
@ -17386,12 +17386,6 @@
"uniqueItems": true,
"x-go-name": "Name"
},
"object_format_name": {
"description": "ObjectFormatName of the underlying git repository",
"type": "string",
"enum": ["sha1", "sha256"],
"x-go-name": "ObjectFormatName"
},
"private": {
"description": "Whether the repository is private",
"type": "boolean",
@ -21263,12 +21257,6 @@
"type": "string",
"x-go-name": "Name"
},
"object_format_name": {
"description": "ObjectFormatName of the underlying git repository",
"type": "string",
"enum": ["sha1", "sha256"],
"x-go-name": "ObjectFormatName"
},
"open_issues_count": {
"type": "integer",
"format": "int64",