Adding http response codes and messages to api operations