Fix API spec format