Juha Kukkonen
Juha Kukkonen
The `#[openapi(...)]` is unable to access the `tags` attribute of the path operation. Instead at the moment what can be done is to define custom `tag` along with the path...
No they will be organized alphabethical order according to the path. Paths with same tag will be grouped together. The paths will be placed to `BTreeMap` which will contain order...
This is currently unimplemented. The `content_type` in `content` object is `BTreeMap` which is sorted by natural order (A-Z) now in master and in `1.1.0` and below it is just a...
This is supported. But needs manual intervention since unfortunately there is no way to access to information given to `web::scope(...)` function. 1. Yo could declare `context_path` within `utoipa::path` macro: See...
Yes I agree its is far from perfect and is prone to errors and unnecessary duplication. Currently `context_path` is not able to receive a variable reference and only expects literal...
Hi, this is a known issue and has not been addressed in the functionality. What happens it tries to add the json example to the string field within the Vec....
It shouldn't be too hard. To fix this there is 2 things that need to be done. 1. The Array type in `schema.rs` needs an example field. This is missing....
Yeah.. this could be neat escape hatch to configure attributes which are not available via derive or to configure programmatically items directly to the compiled documentation. Definitely could be added...
You can use custom modifier to this. ```rust struct ApiDocInfo; impl Modify for ApiDocInfo { fn modify(&self, openapi: &mut openapi::OpenApi) { openapi.info.description = Some(include_str!("../README.md").to_string()); } } ``` Also with this...
> Btw, is it also possible to specify a favicon or to modify the CSS styling? If I'm not mistaken it is not possible with the Swagger UI. But for...