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

Hello, I've been trying to find a way to have custom `ToSchema` impls be inlined automatically in the generated OpenAPI specification. Is that possible and if so, how exactly? ##...

For the following struct, ``` struct Thing(T); ``` I would like to restrict `T` using some of the options available for structs with named fields, such as restricting a `String`...

Hi, Im trying out version 5.0.0-alpha.0 and have noticed new behavior with tags. As mentioned in #916 > This means that the default tag (the handler function name by default)...

Hi, I have read a lot of the docs and the issues about using `ToSchema` for a generic type. I hope I have not skipped the one that explains how...

How would I use a struct from an external crate as a component. I want to use the `ValidationErrors` struct from the `validator` library.

Hi I want to implement an API to return an image as raw binary. Content-type should be `image/png` . So when this API is opened in web browser, the image...

Given: ``` /// "Health check endpoint, responding with success, indicating liveness. #[utoipa::path( responses( (status = 204, description = "Application is running") ) )] #[get("/health")] pub async fn health_check() -> HttpResponse...

I would like to add some title descriptions to enum values, however it only works on enum structs not basic enum values. For example, if I try this: ```rust #[derive(ToSchema)]...

When trying to use rapidoc with axum as per the example docs: ```rust axum::Router::new() .merge(RapiDoc::with_openapi("/rapidoc", ApiDoc::openapi())) ``` The application will panic with ```Paths must start with a `/`. Use "/"...

I'm running into a weird issue. When I go to the Redoc page for my API, I see the following error: ``` Invalid reference token: crate.api.v1.auth.Device ``` Here's the dependencies....