gitea-api
TypeScript icon, indicating that this package has built-in type declarations

1.17.3-1 • Public • Published

gitea-api

Gitea API client.

Generated with GitHub - ferdikoomen/openapi-typescript-codegen: NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification.

This package follows the Gitea versioning - meaning you should get the same version of this package that matches your instance's version (for 1.16.9 you should install 1.16.9-2).

NOTE: THIS PACKAGE IS BROKEN 1.16.5-2 AND BELOW. It works fine above.

I will try to keep the package up to date with new released versions.

To install

npm i gitea-api

To use

import { GiteaApi } from "gitea-api";

const client = new GiteaApi({
    BASE: 'https://gitea.domain.com',
    WITH_CREDENTIALS: true,
    TOKEN: ""
});

Development

Generated with (from repo folder):

cd ..
npm --global i openapi-typescript-codegen
openapi -c fetch -o ./gitea-api/ -i {gitea-url}/swagger.v1.json --name="GiteaApi" --useOptions

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.17.3-11latest

Version History

VersionDownloads (Last 7 Days)Published
1.17.3-11
1.17.2-10
1.17.1-10
1.17.0-30
1.17.0-20
1.17.0-10
1.16.9-20
1.16.9-10
1.16.5-20
1.16.5-10
1.16.50
1.16.40
1.0.00

Package Sidebar

Install

npm i gitea-api

Weekly Downloads

1

Version

1.17.3-1

License

Unlicense

Unpacked Size

443 kB

Total Files

358

Last publish

Collaborators

  • gr3q