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"