mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Fix new release creation API to allow empty target (#5870)
* Fix new release creation API to allow empty target * Add more test cases * Update swagger
This commit is contained in:
committed by
techknowlogick
parent
8b5f6ced22
commit
fada6968a8
@@ -7570,6 +7570,13 @@
|
||||
"description": "PayloadCommit represents a commit",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"added": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"x-go-name": "Added"
|
||||
},
|
||||
"author": {
|
||||
"$ref": "#/definitions/PayloadUser"
|
||||
},
|
||||
@@ -7585,6 +7592,20 @@
|
||||
"type": "string",
|
||||
"x-go-name": "Message"
|
||||
},
|
||||
"modified": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"x-go-name": "Modified"
|
||||
},
|
||||
"removed": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"x-go-name": "Removed"
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
|
Reference in New Issue
Block a user