Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OpenAPI support #653

Open
erakli opened this issue Sep 27, 2021 · 2 comments
Open

Add OpenAPI support #653

erakli opened this issue Sep 27, 2021 · 2 comments
Projects

Comments

@erakli
Copy link

erakli commented Sep 27, 2021

Hello!

I've recently started to use mountebank in my Python project and found that there are no usable async clients. While it is super easy to write the new one, I've decided to make OpenAPI spec file. By doing this I could easily generate async client with my existing template.

Describing spec file by hand is not a big deal, but I tried to add autogen to mountebank API. Unfortunately, I'm not very convenient with JS and specifically express-js, so I failed with it.

If you add OpenAPI to the project then there would be much more clients in many languages.

I could share my spec file. While it covers API only in some of the parts it would be a great starting point.

@brunns
Copy link
Contributor

brunns commented Sep 27, 2021

Off topic perhaps, but I'd be happy to discuss making https://github.com/brunns/mbtest async friendly if that's feasible and useful.

@erakli
Copy link
Author

erakli commented Sep 27, 2021

@brunns I'm using your lib in my project with async code also. In the project I've added async realization of main classes. While they could be incorporated in mbtest I'm sure that most of hardlifting could be done with auto-gen client. So in first place I suppose that there need to be OpenAPI support from montebank :)

@bbyars bbyars added this to v2.7.0 in Roadmap Mar 15, 2022
@bbyars bbyars mentioned this issue Mar 15, 2022
@bbyars bbyars added this to To do in v2.7.0 Mar 15, 2022
@bbyars bbyars removed this from To do in v2.7.0 Jul 17, 2022
@bbyars bbyars moved this from v2.8.0 to v2.9.0 in Roadmap Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Roadmap
v2.9.0
Development

No branches or pull requests

2 participants