No description
Find a file
2026-02-11 21:37:44 +00:00
docs add generated code 2026-02-11 02:58:01 +00:00
src add generated code 2026-02-11 02:58:01 +00:00
.gitignore 2026-02-11 01:44:14 +00:00
Cargo.lock [Cargo.lock] 2026-02-11 03:13:52 +00:00
Cargo.toml add generated code 2026-02-11 02:58:01 +00:00
LICENSE add main README and LICENSE 2026-02-11 02:58:19 +00:00
OPENAPI_GENERATOR.md fix Cargo.toml use directive 2026-02-11 04:29:40 +00:00
README.md fix README typo 2026-02-11 21:37:44 +00:00

Forgejo client based off OpenAPI endpoint definition.

Absolute majority of this code was generated by OpenAPI generator tool. For more info, see its own README.

Reproduction

(shush)

You need to have JRE binaries in your path, and download one of tool's releases. Release 7.19.0 was used to generate this code.

Then,

java -jar openapi-generator-cli-7.19.0.jar generate \
          -i https://v14.next.forgejo.org/swagger.v1.json \
          -g rust \
          -o ./forgejo-openapi

And delete any extra files you don't need. For help,

java -jar openapi-generator-cli-7.19.0.jar help

License

This code was generated by the OpenAPI generator tool. According to tool's README:

Generated code is intentionally not subject to the parent project license

And so this code is licensed under CC0.