-
Notifications
You must be signed in to change notification settings - Fork 4
Add option for generated enum types #31
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
base: main
Are you sure you want to change the base?
Conversation
@gslaszlo Thanks a lot for the changes. The changes look good. I will try to test it locally once, meanwhile, can you add some unit tests for this? We can add some functional tests like this, https://github.com/grafana/openapi-to-k6/blob/main/tests/functional-tests/test-generator/generator.test.ts, we could take a single schema and test it out for all the supported enum types. |
@DefCon-007 Thanks for pointing it out, I've added tests for all 3 cases. I didn't want to do a lot of edits in the |
@gslaszlo Could you fix the conflicts? We are good to merge once they are fixed. |
@DefCon-007 Sorry for the delay, fixed the conflicts. |
Add support for generated enum types, as in orval docs.