emptied the url parameter in swagger constructor
added annotations for possible errors in code and documentation
removed copy/paste errors. removed wrong empty checks