Ralph Bisschops
Ralph Bisschops
See my comment on [#143](https://github.com/GREsau/okapi/pull/143#issuecomment-2081614043)
Would have to look more into this. But in any case the IndexMap or more specifically the [Schemars::Map](https://github.com/GREsau/schemars/blob/master/schemars/src/lib.rs#L294) should be preferred. This is because `BTreeMap` does not guarantee order or...
If you want to have a look at the issue the BTreeMap implementation is here: https://github.com/GREsau/schemars/blob/master/schemars/src/json_schema_impls/maps.rs [IndexMap uses the same implementation as HashMap](https://github.com/GREsau/schemars/blob/master/schemars/src/json_schema_impls/indexmap.rs#L7) and BTreeMap for sub component generation. (So...
Thanks for the PR, but I have to spend a bit more time looking into this. So I will have to do that before merging. (don't have time right now)...
Hey, sorry for the late reply. But the `request` object is never available in `rocket_okapi` or `OpenApiFromRequest` This is because the `openapi.json` file is generated at the time the macro...
You can do something during run time too, but although a bunch is done during compile time. The moment the macro is called `openapi_get_routes![]` or similar you can some things....
Also does the https://github.com/GREsau/okapi/tree/master/examples/secure_request_guard example not describe what you want to do?