Vaelor/python-mattermost-driver

Generate api endpoints from mattermost openapi doc

Vaelor opened this issue · 3 comments

Instead of manually adding each endpoint, a script to generate all endpoints from the openapi documentation would be nice.

This could also add more infos to every endpoint instead of only a options or params parameter.

Generators like openapi generator or autorest seem to be a good thing to consider.
But I haven't been able to make either of them work with the Mattermost openapi spec, yet …

Yeah, I have to work with stuff like that at work, so I should be able to do that, I just never really have the time for it. But I guess I am quite a bit behind on adding endpoints anyway so I should probably finally have a look into that.

If I were able to get one at least one of them to work, I'd give an implementation a shot. I eventually gave up (too many other things to do ^^ ).