Go to file
shile 5d68423468 Revert "更新工作流提交身份来源。"
This reverts commit 1465d5f2cf.
2026-05-08 02:27:39 +08:00
.claude 更新工作流以包含 docs 和 src 目录的变更 2026-04-24 09:24:18 +08:00
.github/workflows Revert "更新工作流提交身份来源。" 2026-05-08 02:27:39 +08:00
.settings Update to 1.16.0-SNAPSHOT from v1.16.0-dev-116-g274aeb3a9 2021-08-18 18:55:22 +01:00
.swagger-codegen Update API from gitea.com (#3) 2021-03-08 22:48:13 +00:00
.vscode Minor update 2018-08-21 20:30:48 +01:00
docs update generated api docs and models 2026-04-22 17:48:10 +08:00
gradle/wrapper Update API (#1) 2019-10-15 11:05:02 +01:00
src update generated api docs and models 2026-04-22 17:48:10 +08:00
.classpath Drop to SNAPSHOT 2018-09-05 20:52:06 +01:00
.gitignore Update API from gitea.com (#3) 2021-03-08 22:48:13 +00:00
.project prepare for 1.18.0 2023-01-12 20:40:59 +00:00
.swagger-codegen-ignore Minor update 2018-08-21 19:59:48 +01:00
.travis.yml Update API (#1) 2019-10-15 11:05:02 +01:00
LICENSE Create LICENSE 2018-08-21 20:23:25 +01:00
README.md 同步 release/1.26.0 的构建配置与版本信息 2026-04-23 14:06:18 +08:00
build.gradle 替换项目中的 zeripath 标识 2026-04-22 18:41:56 +08:00
build.sbt Change name to java-gitea-api 2018-08-24 16:07:31 +01:00
git_push.sh Fix UserList 2018-08-24 18:28:14 +01:00
gradle.properties Minor update 2018-08-21 19:59:48 +01:00
gradlew Update API (#1) 2019-10-15 11:05:02 +01:00
gradlew.bat Update API (#1) 2019-10-15 11:05:02 +01:00
pom.xml 同步 release/1.26.0 的构建配置与版本信息 2026-04-23 14:06:18 +08:00
settings.gradle Change name to java-gitea-api 2018-08-24 16:07:31 +01:00
swagger.v1.json update swagger.v1.json. 2025-05-08 02:28:15 +00:00

README.md

java-gitea-api

Gitea API.

  • API version: 1.26.0

This documentation describes the Gitea API.

Automatically generated by the Swagger Codegen

Requirements

Building the API client library requires:

  1. Java 1.7+
  2. Maven/Gradle

Installation

To install the API client library to your local Maven repository, simply execute:

mvn clean install

To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:

mvn clean deploy

Refer to the OSSRH Guide for more information.

Maven users

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>
  <scope>compile</scope>
</dependency>

Gradle users

Add this dependency to your project's build file:

implementation "io.github.le-shi:java-gitea-api:1.26.0"

Others

At first generate the JAR by executing:

mvn clean package

Then manually install the following JARs:

  • target/java-gitea-api-1.26.0.jar
  • target/lib/*.jar