JAVA-24 fixed remove swagger files on no swagger