Ralph Bisschops

Results 76 comments of Ralph Bisschops

> I would like to know if what I did is the right implementation of the new version, btw fell free to make an example out of it. - Make...

The package `rocket_contrib` was moved into `rocket` in version `0.5.0-rc.1` and later. > Graduation of json, msgpack, and uuid rocket_contrib features into core. Source: https://github.com/SergioBenitez/Rocket/blob/v0.5-rc/CHANGELOG.md#major-features-and-improvements-1 > The `rocket_contrib` crate has...

Also link above to project does not work anymore (branch was removed). So posting new link https://github.com/DILECPEDO/rocket_diesel_demo (for myself and future people that end up here)

Hmm, this does not look like an easy thing to fix. Will have to take a deeper look if we want to fix this. But why are you using a...

Thanks for the replay. You made your case, I'll take a look into allowing lifetimes. (It might not be this release, because this requires changing the derive macro and is...

Hmm, looks indeed like it is doing something wrong in the default Serde parser. I think this is because of the `#[serde(flatten)]`. Looks like we might need to add `#[serde(skip_deserializing)]`...

Changes in the PR are partly in 9f8b0644f984c07e3c89c0c321658ab5e0693ee5 (including some additional settings) but drop-down has not been added yet. This might be added later, so will leave PR open for...

Tags, yes Tag description, no, not using a macro at least. You can merge multiple OpenAPI specs like here: https://github.com/GREsau/okapi/blob/master/examples/custom_schema/src/main.rs#L61 or using https://docs.rs/rocket_okapi/0.8.0-rc.1/rocket_okapi/macro.openapi_get_routes_spec.html Just add your tags and there description....

Just to make sure I understand it correctly: - If a route has `#[deprecated]` currently `#[openapi]` will generate a warning? And you want this warning to be removed? What is...

This warning has nothing to do with Rocket or Okapi. So there is noting we can do about it. You can try: ```rust #[rocket::launch] fn launch() -> Rocket { #[allow(deprecated)]...