python-mattermost-driver icon indicating copy to clipboard operation
python-mattermost-driver copied to clipboard

Generate api endpoints from mattermost openapi doc

Open Vaelor opened this issue 6 years ago • 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.

Vaelor avatar Oct 28 '19 23:10 Vaelor

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 …

lrittel avatar Jun 22 '20 16:06 lrittel

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.

Vaelor avatar Jul 02 '20 09:07 Vaelor

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 ^^ ).

lrittel avatar Jul 29 '20 20:07 lrittel