fussybeaver / bollard

Docker daemon API in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request utoipa

leon3s opened this issue · comments

Hey, since i use your model as input for my api, it could be nice to have them with the derive ToSchema

To have a compatibility with this crate: https://github.com/juhaku/utoipa

I'm not sure we should add too many dependencies to the project.. If you just want to dump a schema, you could generate the models with the ToSchema derive locally.

Alternatively, we also follow this swagger schema, maybe it can be integrated into something else: https://raw.githubusercontent.com/moby/moby/a06bae909494b43daadc0ee60dbce79231616470/docs/api/v1.41.yaml

I guess you don't need this for the buildkit protobuf files ?

Sorry for coming off rude in the previous comment..
I dont need it for the buildkit only for models like ContainerConfig, ContainerInspect, ContainerSummary etc..
In my opinion it's a fair feature to have