port to yaml swagger & a127-magic