utoipa icon indicating copy to clipboard operation
utoipa copied to clipboard

Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust

Results 171 utoipa issues
Sort by recently updated
recently updated
newest added

I have a paginator defined like this ```rs #[derive(Debug, Serialize, ToSchema)] #[aliases(PaginatedCat = PaginatedResponse)] pub struct PaginatedResponse { pub count: i64, pub previous: Option, pub next: Option, pub results: Vec,...

bug

The OpenAPI specification supports [the `parameters` defined in components](https://spec.openapis.org/oas/latest.html#componentsObject) to hold reusable [Parameter Objects](https://spec.openapis.org/oas/latest.html#parameterObject). Any plan for this feature?

Hello Error is rather clear. utoipa wants my routs be functions only. Let this issue be a feature request If you have any good solution how to solve this error...

After adding the `Header` param nothing changed. The `ServiceRequest` didn't showed my header. Do I have to do something on `actix_web` side? ```rust #[utoipa::path( context_path = "/tools", tag = "tools",...

actual ```rust SwaggerUi::new("/swagger-ui").url("/api-docs/openapi.json", api_doc) ``` wanted ```rust SwaggerUi::new(["/swagger-ui", "/api", "/doc"]).url("/api-docs/openapi.json", api_doc) ```

Hello. Instead of using `serde_json::Value` directly, we added an alias `Json` for `serde_json::Value`. But the `Json` won't be recognized as `serde_json::Value`. ```rust pub type Json = serde_json::Value; ``` This would...

#762 introduced expressions in some macro args. For me that is fantastic. Yet some macro args do not yet support expressions. One that I'd like to see is `openapi::tags::name`, because...

## Requested feature Add support for `#[schema(skip)]` ## What this does When this attribute is present, the target field or variant will not show up in the generated OpenAPI spec....

Hey! I use: ``` #[utoipa::path( get, path = "/api/v1/items", responses( (status = 200, body = String), (status = 400, body = String) ), security( ("x-client-name" = []), ("x-auth-token" = [])...

Utoipa already supports setting a tag, and provides a default value. However, in some cases it is helpful to be able to add additional tags beyond the default. I think...