根据上游 Gitea Tag v1.21.4 初始化 release/1.21.4

This commit is contained in:
github-actions[bot] 2026-05-08 03:21:50 +00:00
parent 5d68423468
commit 8bead92c48
3 changed files with 13 additions and 9 deletions

View File

@ -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:
<dependency>
<groupId>io.github.le-shi</groupId>
<artifactId>java-gitea-api</artifactId>
<version>1.26.0</version>
<version>1.21.4</version>
<scope>compile</scope>
</dependency>
```
@ -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`

View File

@ -4,7 +4,7 @@
<artifactId>java-gitea-api</artifactId>
<packaging>jar</packaging>
<name>java-gitea-api</name>
<version>1.26.0</version>
<version>1.21.4</version>
<url>https://github.com/le-shi/java-gitea-api</url>
<description>Swagger Java Client for Gitea</description>
<scm>
@ -62,7 +62,7 @@
<hideGenerationTimestamp>true</hideGenerationTimestamp>
<artifactId>java-gitea-api</artifactId>
<groupId>io.github.le-shi</groupId>
<artifactVersion>${project.version}</artifactVersion>
<artifactVersion>1.21.4</artifactVersion>
</configOptions>
</configuration>
</plugin>

View File

@ -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"