Dynamically Constructing HttpApi Based on Configuration

can i construct a HttpApi programatically? i.e. only activate certain routes if something in Config is set? or should i handle that in the handlers?
Was this page helpful?