Add option for generated enum types#31
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.