Rust API client for openapi
Api specifaction for a Gamenight server
For more information, please visit https://brentj.es
Overview
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: 1.0
- Package version: 1.0
- Generator version: 7.12.0
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named openapi
and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./openapi" }
Documentation for API Endpoints
All URIs are relative to http://localhost:8080
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | get_gamenight | GET /gamenight | |
DefaultApi | get_gamenights | GET /gamenights | Your GET endpoint |
DefaultApi | get_token | GET /token | |
DefaultApi | post_gamenight | POST /gamenight | |
DefaultApi | post_register | POST /user |
Documentation For Models
- AddGamenightRequestBody
- Failure
- Gamenight
- GetGamenightRequest
- GetToken401Response
- Login
- Registration
- Token
To get access to the crate's generated documentation, use:
cargo doc --open