Rust API for smart_task_openapi_axum
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Overview
This server was generated by the [openapi-generator] (https://openapi-generator.tech) project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.
To see how to make this your own, look here: README
- API version: 1.0.0
- Build date: 2024-12-23T00:29:44.954522+09:00[Asia/Tokyo]
- Generator version: 7.10.0
This autogenerated project defines an API crate smart_task_openapi_axum which contains:
- An
Apitrait defining the API in Rust. - Data types representing the underlying data model.
- Axum router which accepts HTTP requests and invokes the appropriate
Apimethod for each operation.- Request validations (path, query, body params) are included.
Using the generated library
The generated library has a few optional features that can be activated through Cargo.
server- This defaults to enabled and creates the basic skeleton of a server implementation based on Axum.
- To create the server stack you'll need to provide an implementation of the API trait to provide the server function.
conversions- This defaults to disabled and creates extra derives on models to allow "transmogrification" between objects of structurally similar types.
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-features-section for how to use features in your Cargo.toml.
Example
pub async
async