edit swagger js so it supports our apis.