Fixed reference to failure response codes in endpoint templates