-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
WIP: k6 API client generator #16336
base: master
Are you sure you want to change the base?
WIP: k6 API client generator #16336
Conversation
Thanks for the PR. Is it similar to this one: https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/K6ClientCodegen.java#L382 ? |
@wing328 thanks for review! |
@PertsevRoman I see. Thanks for the explanation. cc @mostafa |
Hey @PertsevRoman and @wing328, Thanks for your contribution! Let me clarify a few points:
With all that said, your contribution seems like an interesting use case, which generates a set of models and ready-to-use functions to write tests. I'd be happy to see a mix of the two with an optional argument to either generate the test or generate the models and API calls only. |
Thanks for the PR but your commit (as shown in the Commits tab) is not linked to your Github account, which means this PR won't count as your contribution in https://github.com/OpenAPITools/openapi-generator/graphs/contributors. Let me know if you need help fixing it. |
My bad with email, it's not actual anymore. UPD: fixed |
f0e7e77
to
e2d41da
Compare
e2d41da
to
8213d90
Compare
@mostafa thanks for review
|
k6 client generator
Hey,
I want to share this k6 client generator with the codegen community. The generator implements K6 client generation. It's not finished yet, I have to finalize some features like auth, internal unit tests, etc.
The reason why I created the generator - I want to integrate it to a bazel repo. K6 already integrated, so seems plans to have single-source-of-truth-apifirst build configuration goes well. :)
Will be very appreciate for a review!