utoipa
utoipa copied to clipboard
Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust
Hello guys, are there any plans to implement support for Callbacks and Webhooks?
I have some optional query params in axum: ```rust #[derive(Debug, Deserialize, IntoParams, Validate)] pub struct ReadManyParams { /// Name to start after start_after: Option, /// Limits the number of results...
``` Could not resolve reference: Could not resolve pointer: /components/schemas/PathBuf does not exist in document ``` Hi. I understand the concept of adding stuff to the `schemas()` and add the...
In some use-cases, the query parameters require a complex structure (e.g a json object with multiple nesting levels) as specified under section [4.7.12.2](https://spec.openapis.org/oas/v3.0.3#fixed-fields-9) of the OpenAPI v3.0.3 specification. Implementing a
Can you please guide on adding `ServiceConfig` instead of manually list the routes to avoid erroneous repetitions? the Configuration is already established at [looking at ](https://github.com/juhaku/utoipa/blob/master/examples/todo-actix/src/todo.rs#L18) we only need to...
If using the `IntoResponses` derive macro, you cannot specify other response attributes besides `status`, although [documentation](https://docs.rs/utoipa/latest/utoipa/derive.IntoResponses.html#intoresponses-response-attributes) says otherwise. Example: ```rust use utoipa::IntoResponses; #[derive(IntoResponses)] enum MyResponses { // this works #[response(status...
As posted, I have about 4 Components with their enpoints which should be more than 16 in total including some personal additions but looking at Swagger-ui and personal json listing,...
I am using the OpenAPI schema generation, and the generated OAS doc for the following includes schema `SchemaA` correctly, however it refers to `SchemaB` which isn't present in the generated...
Specifically in utoipa/src/lib.rs and utoipa-gen/src/lib.rs
We have a Rust struct, where all of the variants have a member `report_type`. ```rust #[derive(..., utoipa::ToSchema)] #[serde(tag = "report_type")] pub enum ReportData { Report1(Report1), Report2(Report2), Report3(Report3), ... } ```...