kubeshop / kusk-gen

Kusk Gen generates Ingress-controller configurations from your OpenAPI definition
https://kubeshop.github.io/kusk-gen
MIT License
173 stars 12 forks source link

Refactor Generator code to be DRY and more concise #177

Closed kylehodgetts closed 2 years ago

kylehodgetts commented 2 years ago

Currently the code for each generator is very long, hard to follow and there is duplicated logic between generators.

To increase the chance of attracting contributors, the code should be easy for them to follow and reuse where possible. This will lower the barrier to entry for writing new generators.