Fixes major swagger conversion issues

Fixes uri parameter output, swagger api declaration output when conflicting resource names and avoid harsh errors when trying to convert the body parameter.