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

Hi! I'm trying to expose an OpenAPI spec this way: ```rust ... .service( web::scope("/docs") .wrap(auth) .service( SwaggerUi::new("/swagger-ui/{_:.*}").url("/api-doc/openapi.json", openapi.clone()), )) ``` The problem is that when navigating to `localhost:8000/docs/swagger-ui` we get...

There is need to unify the existing functionality in `ToSchema` and `IntoParams` code generation implementations. This would establish solid ground for `IntoResponses` implementation when started. **Tasks (not final):** - [...

# Status Some time back, a disaster in family happend, thus forcing me to focus on managing things related to it. In Finland we have the saying "ei onnettomuus kulje...

help wanted

Hello, # TL; DR I found a bug in axum extension about `url` config. So far if you set url config, the config could be overridden. This PR resolves this...

Just as the title says. Something like this does not get renamed in the generated JSON. There is no way to manually rename this either. ```rs #[derive(Deserialize, IntoParams)] #[serde(rename_all =...

I have a struct that has a derive clause like so: ```rust #[derive(serde::Serialize, postgres_types::ToSql, postgres_types::FromSql, utoipa::ToSchema)] #[schema(example = json!({ "a": "bar" }))] struct Foo { a: String, } ``` Without...

Experiemental actix_web auto-responses from handler return type. There are noticeable drawbacks with the automatic response resolution. And the biggest one is question "How to override response a type that is...

enhancement
Refinement Needed

Say I have a struct like ```rust #[derive(Debug, Serialize, Deserialize, Clone, ToSchema)] pub struct Client { #[serde(skip_deserializing)] pub test: Option, } ``` the field `test` is being ignored because of...

It seems to me that all the routes and components need to be defined in one spot when using `#[derive(OpenApi)]`. For a larger project, this can easily balloon in size....

I'm adding functionality to another code generator that consumes the OpenAPI spec, and I realized that it would be nice to propagate the enum names from Rust into other languages....