okapi icon indicating copy to clipboard operation
okapi copied to clipboard

OpenAPI (AKA Swagger) document generation for Rust projects

Results 52 okapi issues
Sort by recently updated
recently updated
newest added

Whenever a schema is generated for a BTreeMap with an enum value as the key, the result allows _any_ string for the key. For example: ```rust #[derive(serde::Serialize, JsonSchema, Debug, PartialEq,...

schemars

example code: [Note - I have added the references correctly. Also, I am new to Rust, sorry in advance for my naiveite] ```rs impl OpenApiResponderInner for XYZ{ fn responses( gen:...

rocket-okapi

Waiting for https://github.com/GREsau/schemars/issues/104 to be resolved. Otherwise [Date](https://docs.rs/time/0.2.26/time/date/struct.Date.html) and [Time](https://docs.rs/time/0.2.26/time/time_mod/struct.Time.html) will not have implemented `OpenApiFromFormField`. If Schemars implements this, no changes are needed in Okapi.

help wanted
good first issue
waiting
schemars

The package versions I am using: ```toml rocket = { version = "0.5.0-rc.3", features = ["msgpack"] } rocket_okapi = { version = "0.8.0-rc.3", features = ["swagger", "msgpack"] } schemars =...

Updated all dependencies and docs to [rocket v0.5.1](https://github.com/rwf2/Rocket/blob/v0.5.1/CHANGELOG.md#version-051-may-22-2024)

Using this feature https://github.com/rwf2/Rocket/issues/590 results in `the trait bound '[...] rocket_okapi::response::OpenApiResponderInner' is not satisfied` when the enum type is as a result type in a `#[openapi]` endpoint function. It would...

enhancement
rocket-okapi-codegen

This PR supersedes https://github.com/GREsau/okapi/pull/148 It does does a few things, each in a separate commit. - First up, most dependencies are now managed via the workspace.dependency feature. - The rocket...

Just fixed a small typo in the README.md

Hello, Is this planned? any ETA? Do you need help? The problem is with `rocket_db_pools` and latest `sqlx`. Previous SQLx versions have a CVE but `rocket_db_pools` version 0.2 which supports...

Hello `rocket_okapi` team, I'm currently working on the `zitadel-rust` project and generating OpenAPI documentation using the `OpenApiFromRequest` trait. You can find the relevant PR here: [smartive/zitadel-rust#559](https://github.com/smartive/zitadel-rust/pull/559). In this project, I...