some fix on api get-api-docs