* types api * dist instead of assembly (assembly does not allow to use swagger easily) * small swagger improvements