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

Ambassador - Provide possibility to disable everything at root level - with corresponding possibility to enable at path/method level #163

Closed kylehodgetts closed 2 years ago

kylehodgetts commented 2 years ago

Add global level disable option to enable blanket disable on all paths and operations. Paths and Operations can then be enabled when they are deemed to be ready by overriding the disabled field at the path and field levels.

Change disabled field in SubOptions from boolean to pointer to a boolean to implement the following semantics:

Implement useful helper methods IsOperationDisabled and IsPathDisabled with the Option struct reciever which implement the semantics listed above

resolves #148

Checklist