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

wizard: pre-fill options with information from x-kusk extension #80

Closed dobegor closed 3 years ago

kylehodgetts commented 3 years ago

What should the behaviour be with this one? @dobegor @olensmar

We populate the options with the settings in the extensions and then what do we do?

In my head there are 2 options: A) Skip the questions for setting these in the wizard B) Ask the questions anyway and use what's currently in the extension as the "default" and give the user a chance to override it?

kylehodgetts commented 3 years ago

From Slack discussion

we should load options from spec and present them as "default" in our wizard
but let user change them if he wants to