fix error text for display in swagger ui

When Swagger ui is rendering the expects the error parameters to be "code" and "reason". It doesn't display "description"