From 8bead92c48b316e8f7ef97ccd1db2d466ce6ea7b Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Fri, 8 May 2026 03:21:50 +0000
Subject: [PATCH] =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E4=B8=8A=E6=B8=B8=20Gitea=20?=
=?UTF-8?q?Tag=20v1.21.4=20=E5=88=9D=E5=A7=8B=E5=8C=96=20release/1.21.4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 8 ++++----
pom.xml | 4 ++--
swagger.v1.json | 10 +++++++---
3 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index 2d312fc..d10e63e 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# java-gitea-api
Gitea API.
-- API version: 1.26.0
+- API version: 1.21.4
This documentation describes the Gitea API.
@@ -39,7 +39,7 @@ Add this dependency to your project's POM:
io.github.le-shi
java-gitea-api
- 1.26.0
+ 1.21.4
compile
```
@@ -49,7 +49,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:
```groovy
-implementation "io.github.le-shi:java-gitea-api:1.26.0"
+implementation "io.github.le-shi:java-gitea-api:1.21.4"
```
### Others
@@ -62,5 +62,5 @@ mvn clean package
Then manually install the following JARs:
-* `target/java-gitea-api-1.26.0.jar`
+* `target/java-gitea-api-1.21.4.jar`
* `target/lib/*.jar`
diff --git a/pom.xml b/pom.xml
index 4ac19bc..260c22f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
java-gitea-api
jar
java-gitea-api
- 1.26.0
+ 1.21.4
https://github.com/le-shi/java-gitea-api
Swagger Java Client for Gitea
@@ -62,7 +62,7 @@
true
java-gitea-api
io.github.le-shi
- ${project.version}
+ 1.21.4
diff --git a/swagger.v1.json b/swagger.v1.json
index 3f741f4..a05fe9e 100644
--- a/swagger.v1.json
+++ b/swagger.v1.json
@@ -19,7 +19,7 @@
"name": "MIT",
"url": "http://opensource.org/licenses/MIT"
},
- "version": "1.21.1"
+ "version": "1.21.4"
},
"basePath": "/api/v1",
"paths": {
@@ -660,6 +660,9 @@
"200": {
"$ref": "#/responses/User"
},
+ "400": {
+ "$ref": "#/responses/error"
+ },
"403": {
"$ref": "#/responses/forbidden"
},
@@ -18328,8 +18331,7 @@
"type": "object",
"required": [
"username",
- "email",
- "password"
+ "email"
],
"properties": {
"created_at": {
@@ -23955,6 +23957,7 @@
},
"securityDefinitions": {
"AccessToken": {
+ "description": "This authentication option is deprecated for removal in Gitea 1.23. Please use AuthorizationHeaderToken instead.",
"type": "apiKey",
"name": "access_token",
"in": "query"
@@ -23987,6 +23990,7 @@
"in": "header"
},
"Token": {
+ "description": "This authentication option is deprecated for removal in Gitea 1.23. Please use AuthorizationHeaderToken instead.",
"type": "apiKey",
"name": "token",
"in": "query"