Fix: Restrict swagger to local endpoints
Make swagger use consistant paths using "/resources" instead of "/resource"
Fix the multiple braces in the HtmlTemplates as a results of abstraction
before.