I have implemented swagger for azure function apps with a startup file for FunctionStartup, which has an override method for configure.
public override void C