Issue #4 solved: when creating an api with a duplicated basepath, then an error is shown.