Juha Kukkonen

Results 326 comments of Juha Kukkonen

Yes it could be used as a workaround.

You probably mean that the fields of a `Component` which in turn are also `Component`s does not retain the doc comment? In this case this is a duplicate to this...

Yeah. This indeed is something worth thinking. @kellpossible Any takes on this? If there is something that could be improved regarding the namespacing?

Yeah it is possible by overriding the `content-type` for the Response. See here: https://docs.rs/utoipa/1.1.0/utoipa/attr.path.html#responses-attributes. Indicate to OpenAPI doc that response body is octet stream of bytes. ``` responses( (status =...

> Could you modify it to take them into account? This seems like it is rocket specific feature if I'm not mistaken. It could be possible to add and can...

@oliver-impero Sorry for late reply, been really busy lately leaving me freetime between zero and none. > Do I have to write a params entry for every field of FilterParams,...

>Another small question: Currently I'm doing Config::from("/api-doc/v1.json"), how can I pass additional config params that are not part of the API spec, such as "tryItOutEnabled": false, to disable the "Try...

> How to make this work / how to specify in the attribute that it should ignore filter_params? Thanks! :) Oh, this is actually not possible with the current implementation....

Yes, for time being it is unfortunately. This is something that need to be investigated and see whether it is possible and how much effort it would take to support...

Yes they are supported if I understand your question right. For example the lists can be defined like so `(status = 200, body = [ApplicationData])`. Lists are wrapped in brackets....