Fixed ApiSetSchema parsing bug