Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oeb25/abeye
🐝 OpenAPI client generator
https://github.com/oeb25/abeye
Last synced: about 9 hours ago
JSON representation
🐝 OpenAPI client generator
- Host: GitHub
- URL: https://github.com/oeb25/abeye
- Owner: oeb25
- Created: 2023-09-27T11:23:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-05T10:29:20.000Z (10 months ago)
- Last Synced: 2024-01-05T11:52:10.994Z (10 months ago)
- Language: Rust
- Size: 84 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# abeye
> 🐝 OpenAPI client generator
## Usage
```bash
❯ abeye --help
🐝 OpenAPI client generatorUsage: abeye
Commands:
generate Generate type definitions and client for the given OpenAPI
help Print this message or the help of the given subcommand(s)
``````bash
❯ abeye generate --help
Generate type definitions and client for the given OpenAPIUsage: abeye generate [OPTIONS] --target [SOURCE]
Arguments:
[SOURCE]
Path or URL of the OpenAPI document. If none is provided the document will be read from STDINOptions:
-t, --target
The output format of the generated file[possible values: ts]
-o, --output
The path where the output will be written. If none is provided the out generated file will be printed to STDOUT--api-prefix
A common prefix for API endpoints to exclude when determining names generated methods.For example, given "/beta/api" the endpoints will have names as follows:
* "/beta/api/autosuggest" => "autosuggest"
* "/beta/api/explore/export" => "exploreExport"
* "/beta/api/sites/export" => "sitesExport"
* "/beta/api/webgraph/host/ingoing" => "webgraphHostIngoing"
* "/beta/api/webgraph/host/outgoing" => "webgraphHostOutgoing"
```