10个版本 (破坏性更新)
0.10.1 | 2022年8月31日 |
---|---|
0.9.1 | 2022年7月8日 |
0.4.0 | 2022年2月4日 |
#225 in HTTP客户端
105KB
2K SLoC
Rust API客户端,用于hippo-openapi
未提供描述(由Openapi Generator生成 https://github.com/openapitools/openapi-generator)
概述
此API客户端是由OpenAPI Generator项目生成的。通过使用远程服务器上的openapi-spec,您可以轻松地生成API客户端。
- API版本:1.0
- 包版本:0.10.1
- 构建包:
org.openapitools.codegen.languages.RustClientCodegen
安装
将包放在名为hippo-openapi
的目录中,并在Cargo.toml
中的[dependencies]
下添加以下内容:
hippo-openapi = { path = "./hippo-openapi" }
API端点文档
所有URI均相对于https://127.0.0.1
类 | 方法 | HTTP请求 | 描述 |
---|---|---|---|
AccountsApi | api_accounts_post | POST /api/accounts | |
AppsApi | api_apps_get | GET /api/apps | |
AppsApi | api_apps_id_delete | DELETE /api/apps/{id} | |
AppsApi | api_apps_id_get | GET /api/apps/{id} | |
AppsApi | api_apps_id_put | PUT /api/apps/{id} | |
AppsApi | api_apps_post | POST /api/apps | |
AuthTokensApi | api_auth_tokens_post | POST /api/auth-tokens | |
CertificatesApi | api_certificates_get | GET /api/certificates | |
CertificatesApi | api_certificates_id_delete | DELETE /api/certificates/{id} | |
CertificatesApi | api_certificates_id_put | PUT /api/certificates/{id} | |
CertificatesApi | api_certificates_post | POST /api/certificates | |
ChannelStatusesApi | api_channel_statuses_get | GET /api/channel-statuses | |
ChannelsApi | api_channels_channel_id_desired_status_put | PUT /api/channels/{channelId}/desired-status | |
ChannelsApi | api_channels_get | GET /api/channels | |
ChannelsApi | api_channels_id_delete | DELETE /api/channels/{id} | |
ChannelsApi | api_channels_id_get | GET /api/channels/{id} | |
ChannelsApi | api_channels_id_logs_get | GET /api/channels/{id}/logs | |
ChannelsApi | api_channels_id_patch | PATCH /api/channels/{id} | |
ChannelsApi | api_channels_id_put | PUT /api/channels/{id} | |
ChannelsApi | api_channels_post | POST /api/channels | |
RevisionsApi | api_revisions_get | GET /api/revisions | |
RevisionsApi | api_revisions_id_delete | DELETE /api/revisions/{id} | |
RevisionsApi | api_revisions_post | POST /api/revisions | |
StoragesApi | api_storages_get | GET /api/storages |
模型文档说明
- AppChannelListItem
- AppItem
- AppItemPage
- AppSummaryDto
- CertificateItem
- CertificateItemPage
- ChannelItem
- ChannelItemPage
- ChannelJobStatusItem
- ChannelJobStatusItemPage
- ChannelRevisionSelectionStrategy
- ChannelRevisionSelectionStrategyField
- CreateAccountCommand
- CreateAppCommand
- CreateCertificateCommand
- CreateChannelCommand
- CreateTokenCommand
- DesiredStatus
- EnvironmentVariableItem
- GetChannelLogsVm
- GuidNullableField
- JobStatus
- PatchChannelCommand
- RegisterRevisionCommand
- RevisionComponentDto
- RevisionItem
- RevisionItemPage
- StringField
- StringPage
- TokenInfo
- UpdateAppCommand
- UpdateCertificateCommand
- UpdateChannelCommand
- UpdateDesiredStatusCommand
- UpdateEnvironmentVariableDto
- UpdateEnvironmentVariableDtoListField
要获取生成的文档,请使用
cargo doc --open
作者
依赖项
~4–19MB
~242K SLoC